列出在两个日期之间添加(由任何人)的新文件 [英] List new files added (by anyone) between two dates
本文介绍了列出在两个日期之间添加(由任何人)的新文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何列出两个日期(或两次提交之间)提交中新添加的文件?我希望看到
- 文件路径
- 提交者/提交信息
- 提交ref
解决方案
git log --stat
给出了提交文件更改细节的一个很好的总结:
commit bde0ce475144ec85a1cb4ffeba04815412a07119
作者:Stephen Holdaway< xxxxx@xxxxx.com>
日期:Thu Sep 20 13:55:12 2012 +1200
修复默认轮转问题
菜单/ MainMenuViewController.m | 17 +++++++++++++ ----
菜单/ PostGameViewController.m | 14 +++++++++++++ -
菜单/ StatsMenuController.m | 10 +++++ -----
4个文件已更改,31个插入(+),11个删除( - )
你可以在两个日期之间试试这个:
git log --since10月9日2012--until2012年11月12日--stat
以下为两次提交:
git log --stat xxxxxxx..xxxxxxx
How can I list the files that were newly added in commits between two dates (or between two commits)? I'd like to see
- The file path
- The committer/commit message
- The commit ref
解决方案
git log --stat
gives a nice summary of commits with details of files changed:
commit bde0ce475144ec85a1cb4ffeba04815412a07119
Author: Stephen Holdaway <xxxxx@xxxxx.com>
Date: Thu Sep 20 13:55:12 2012 +1200
fix default rotation issue
Menus/MainMenuViewController.m | 17 +++++++++++++----
Menus/PostGameViewController.m | 14 +++++++++++++-
Menus/StatsMenuController.m | 10 +++++-----
4 files changed, 31 insertions(+), 11 deletions(-)
You could try this for between two dates:
git log --since "10 Sep 2012" --until "12 Nov 2012" --stat
And this for between two commits:
git log --stat xxxxxxx..xxxxxxx
这篇关于列出在两个日期之间添加(由任何人)的新文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文