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

后端 未结 7 1982
情歌与酒
情歌与酒 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 00:55

    Git BASH Command

    git whatchanged --since '11/24/2017' --until '11/29/2017' --oneline --name-only --pretty=format: | sort | uniq >> changedlist.txt
    

提交回复
热议问题