【问题标题】:How can i get file list from a git branch which are committed by me如何从我提交的 git 分支获取文件列表
【发布时间】:2016-09-02 11:17:32
【问题描述】:

我正在开发一个项目,其中一个分支说 feature/test 被 N 多个开发人员使用。目前所有开发人员都提交他们的更改并推送到同一个分支。

现在我想找到我在分支feature/test 中工作过的所有文件。

提前致谢。

【问题讨论】:

标签: linux git ubuntu version-control


【解决方案1】:
git log  --stat --name-only --author="your_name"  --pretty=format:"" --branches=your_branch|sort -u

来源 - old question

【讨论】:

  • Dude 以上命令提供了一些与该分支无关或未被特定用户修改的额外文件。
  • 尝试使用--committer而不是--author
猜你喜欢
  • 2012-02-16
  • 2021-12-04
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-09-25
  • 2017-06-19
  • 2013-03-18
  • 1970-01-01
相关资源
最近更新 更多