{"id":207,"date":"2020-03-30T06:09:00","date_gmt":"2020-03-30T06:09:00","guid":{"rendered":"https:\/\/molecularsciences.org\/content\/?p=207"},"modified":"2024-02-08T08:14:06","modified_gmt":"2024-02-08T13:14:06","slug":"pushed-changes-to-git-but-dont-see-it-in-repository","status":"publish","type":"post","link":"https:\/\/molecularsciences.org\/content\/pushed-changes-to-git-but-dont-see-it-in-repository\/","title":{"rendered":"Pushed changes to GIT but don&#8217;t see it in repository"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Problem<\/h3>\n\n\n\n<p>You pushed your changes to GIT but you don&#8217;t see it in the repository.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Diagnosis<\/h3>\n\n\n\n<p>First thing is to compare status with log<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>git log<\/code><\/pre>\n\n\n\n<p>will give you a list of the commits. You will not see your changes here.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>git status<\/code><\/pre>\n\n\n\n<p>You will see your files here. Above the list of files, you will see<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Changes to be committed<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Cause<\/h3>\n\n\n\n<p>The reason you don&#8217;t see your changes in repository is because they were not committed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Solution<\/h3>\n\n\n\n<p>Run the following commands<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>git commit -m \"some messsage\"\ngit push origin your-branch<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Problem You pushed your changes to GIT but you don&#8217;t see it in the repository. Diagnosis First thing is to compare status with log will give you a list of the commits. You will not see your changes here. You will see your files here. Above the list of files, you will see Cause The [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[230],"tags":[89,354],"class_list":["post-207","post","type-post","status-publish","format-standard","hentry","category-qa","tag-git","tag-versioning"],"_links":{"self":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/207","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/comments?post=207"}],"version-history":[{"count":1,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/207\/revisions"}],"predecessor-version":[{"id":208,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/207\/revisions\/208"}],"wp:attachment":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/media?parent=207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/categories?post=207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/tags?post=207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}