{"id":860,"date":"2016-05-30T11:25:21","date_gmt":"2016-05-30T09:25:21","guid":{"rendered":"http:\/\/webpiraten.de\/?p=860"},"modified":"2016-05-30T11:25:21","modified_gmt":"2016-05-30T09:25:21","slug":"git-get-all-files-a-user-changed","status":"publish","type":"post","link":"https:\/\/webpiraten.de\/index.php\/versionierung\/git-get-all-files-a-user-changed\/","title":{"rendered":"GIT get all files a user changed"},"content":{"rendered":"<p>Get all the files a user changed in a GIT repository with this command:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ngit log --pretty=&quot;%H&quot; --author=&quot;git.user.name&quot; | while read commit_hash; do git show --oneline --name-only $commit_hash | tail -n+2; done | sort | uniq\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Get all the files a user changed in a GIT repository with this command: git log &#8211;pretty=&quot;%H&quot; &#8211;author=&quot;git.user.name&quot; | while read commit_hash; do git show &#8211;oneline &#8211;name-only $commit_hash | tail -n+2; done | sort | uniq<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[121,77,42,54,41],"tags":[625,165,627,623,638,624,177,626,179,628,629,553],"class_list":["post-860","post","type-post","status-publish","format-standard","hentry","category-debugging","category-deployment","category-git","category-server","category-versionierung","tag-all","tag-change","tag-commit_hash","tag-files","tag-git","tag-history","tag-log","tag-pretty","tag-repository","tag-show","tag-tail","tag-user"],"_links":{"self":[{"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/posts\/860","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/comments?post=860"}],"version-history":[{"count":1,"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/posts\/860\/revisions"}],"predecessor-version":[{"id":861,"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/posts\/860\/revisions\/861"}],"wp:attachment":[{"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/media?parent=860"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/categories?post=860"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/tags?post=860"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}