![](/img/trans.png)
[英]How to get the list of changed files since the creation of a branch in git
[英]How do I get the list of changed and added files since the creation of a branch in git by a specific author?
我可能在其中一項提交中引入了錯誤。 我的分支已經與master合並了幾次。 我需要做的是將自分支開始以來創建或更改的所有文件復制到臨時目錄,刪除該分支,再次從master分支,然后復制回我的文件。
您可以通過Git日志查看自己專門完成的提交。 Git whatchanged將向您顯示在每次提交中修改的文件。 如果要指定提交范圍(返回到分支的創建),請指定修訂范圍或使用--since標志。
git whatchanged --author YOUR_EMAIL_HERE --since="1 month ago"
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.