{"id":1216,"date":"2022-11-18T16:45:44","date_gmt":"2022-11-18T16:45:44","guid":{"rendered":"https:\/\/editjournal.redakt.eu\/faxmodem\/?p=1216"},"modified":"2022-11-18T16:45:44","modified_gmt":"2022-11-18T16:45:44","slug":"git-diff-skip-to-next-file","status":"publish","type":"post","link":"https:\/\/editjournal.redakt.eu\/faxmodem\/blog\/development\/git-diff-skip-to-next-file\/","title":{"rendered":"Git diff skip to next file?"},"content":{"rendered":"<p>If you need to do a <code>git diff<\/code>, but the first file it shows is a huge file, e.g. a Javascript library that got replaced, you can skip it in two steps:<\/p>\n<ul>\n<li>Type <code>\/^diff -<\/code> to enter search mode with a slash and then search for <em>diff -<\/em> at the beginning of a line - which signifies the listing of a new file in diff's output<\/li>\n<li>Hit <code>n<\/code> as much as you need to skip to the next file. Optionally, hit <code>N<\/code> to go back to the previous file<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>If you need to do a git diff, but the first file it shows is a huge file, e.g. a Javascript library that got replaced, you can skip it in two steps: Type \/^diff &#8211; to enter search mode with a slash and then search for diff &#8211; at the beginning of a line -&hellip; <a class=\"more-link\" href=\"https:\/\/editjournal.redakt.eu\/faxmodem\/blog\/development\/git-diff-skip-to-next-file\/\">Continue reading <span class=\"screen-reader-text\">Git diff skip to next file?<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[706],"tags":[712],"class_list":["post-1216","post","type-post","status-publish","format-standard","hentry","category-development","tag-git","entry"],"_links":{"self":[{"href":"https:\/\/editjournal.redakt.eu\/faxmodem\/wp-json\/wp\/v2\/posts\/1216","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/editjournal.redakt.eu\/faxmodem\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/editjournal.redakt.eu\/faxmodem\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/editjournal.redakt.eu\/faxmodem\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/editjournal.redakt.eu\/faxmodem\/wp-json\/wp\/v2\/comments?post=1216"}],"version-history":[{"count":1,"href":"https:\/\/editjournal.redakt.eu\/faxmodem\/wp-json\/wp\/v2\/posts\/1216\/revisions"}],"predecessor-version":[{"id":1218,"href":"https:\/\/editjournal.redakt.eu\/faxmodem\/wp-json\/wp\/v2\/posts\/1216\/revisions\/1218"}],"wp:attachment":[{"href":"https:\/\/editjournal.redakt.eu\/faxmodem\/wp-json\/wp\/v2\/media?parent=1216"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/editjournal.redakt.eu\/faxmodem\/wp-json\/wp\/v2\/categories?post=1216"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/editjournal.redakt.eu\/faxmodem\/wp-json\/wp\/v2\/tags?post=1216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}