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?
相关问题
- Why does recursive submodule update from github fa
- Extended message for commit via Visual Studio Code
- Emacs shell: save commit message
- Can I organize Git submodules in a flat hierarchy?
- Upload file > 25 MB on Github
相关文章
- 请教Git如何克隆本地库?
- GitHub:Enterprise post-receive hook
- Git Clone Fails: Server Certificate Verification F
- SSIS solution on GIT?
- Is there a version control system abstraction for
- ssh: Could not resolve hostname git: Name or servi
- Cannot commit changes with gitextensions
- git: retry if http request failed
Maybe this:
Include
--until
if you want for a day, week etc.I use this to get a clean list:
Here is one more without empty lines:
Try:
git log --since="2 days ago" --until="1 days ago"
If you omit
--until
you will get logs for last two days. You can also spesify weeks, months etc. You can also use git diff with --since and --until parameters. Work a little bit on output formatting and you are done.Git
whatchanged
should give you what you want, listing what files were modified.Here's an example using Git source:
I'd use diff to yield the file list directly, e.g:
In case you're curious which file got modified or added, use --name-status instead: