git: list all files added/modified on a day (or week/month…)

后端 未结 7 1983
情歌与酒
情歌与酒 2020-12-08 00:12

Given a period of time (e.g. a day, a week, a month), is it possible to list all files that were modified or added in this time?

7条回答
  •  盖世英雄少女心
    2020-12-08 01:06

    Here is one more without empty lines:

    git log --after="2015-11-05T16:36:00-02:00" --before="2015-11-15T16:36:00-02:00" --pretty=format:"" --name-only | sed '/^\s*$/d' | sort | uniq -u
    

提交回复
热议问题