简体   繁体   English

自从特定作者在git中创建分支以来,如何获取已更改和已添加文件的列表?

[英]How do I get the list of changed and added files since the creation of a branch in git by a specific author?

I may have introduced errors in one of my commits. 我可能在其中一项提交中引入了错误。 My branch has been merged with master several times. 我的分支已经与master合并了几次。 What I need to do is to copy all of the files I created or changed since the branch began to a temp directory, delete the branch, branch off master again, and copy back my files. 我需要做的是将自分支开始以来创建或更改的所有文件复制到临时目录,删除该分支,再次从master分支,然后复制回我的文件。

You can look through the Git log for commits done specifically by yourself. 您可以通过Git日志查看自己专门完成的提交。 Git whatchanged will show you the files modified in every commit. Git whatchanged将向您显示在每次提交中修改的文件。 If you want to specify a range of commits (back to the creation of your branch), specify a revision range or use the --since flag. 如果要指定提交范围(返回到分支的创建),请指定修订范围或使用--since标志。

git whatchanged --author YOUR_EMAIL_HERE --since="1 month ago"

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 自从在git中创建分支以来如何获取已更改文件的列表 - How to get the list of changed files since the creation of a branch in git 如何获取自创建分支以来更改文件的当前文件路径列表 - How to get list of current filepaths of changed files since creation of branch git-如何显示相对于当前分支创建的已更改文件列表 - git - how to show list of changed files relative to creation of current branch 我怎样才能获得自从我上次使用Git以来在远程服务器上更改的唯一文件列表 - How can I get JUST a unique list of files that changed on remote server since my last pull with Git git-仅获取特定分支的更改文件 - git - get only changed files for specific branch git - 查找已创建的分支中已更改的文件 - git - find files changed in branch, since created 我需要检查分支中的每个提交,需要在Git中列出已更改,添加和删除的文件 - i need to check for every commit made in the branch, need list the changed, added & deleted files in Git 如何显示 Git 存储库中特定作者更改的文件列表? - How to show changed file list by a specific author in a Git repository? 我们如何创建自上次部署以来已更改的文件列表? 使用Git - How do we create a list of files which have changed since the last deployment? Using Git 自上次使用git / gerrit在Jenkins / Hudson中生成以来,如何获取已更改文件的列表 - How to get list of changed files since last build in Jenkins/Hudson with git/gerrit
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM