{"id":7908,"date":"2015-11-07T23:57:16","date_gmt":"2015-11-07T23:57:16","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/11\/07\/how-to-preview-git-pull-without-doing-fetch-open-source-projects-github-fetch\/"},"modified":"2015-11-07T23:57:16","modified_gmt":"2015-11-07T23:57:16","slug":"how-to-preview-git-pull-without-doing-fetch-open-source-projects-github-fetch","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/11\/07\/how-to-preview-git-pull-without-doing-fetch-open-source-projects-github-fetch\/","title":{"rendered":"How to preview git-pull without doing fetch?-open source projects github\/fetch"},"content":{"rendered":"<p>Is it even possible?<\/p>\n<p>Basically, there&#8217;s a remote repository from which I pull using just:<\/p>\n<pre><code>git pull\n<\/code><\/pre>\n<p>Now, I&#8217;d like to preview what this pull would change (a diff) without touching anything on my side. The reason is that thing I&#8217;m pulling might not be &#8220;good&#8221; and I want someone else to fix it before making my repository &#8220;dirty&#8221;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Is it even possible? Basically, there&#8217;s a remote repository from which I pull using just: git pull Now, I&#8217;d like to preview what this pull would change (a diff) without touching anything on my side. The reason is that thing I&#8217;m pulling might not be &#8220;good&#8221; and I want someone else to fix it before [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7908","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7908","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7908"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7908\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7908"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7908"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}