Use log instead of whatchanged

As per documentation (https://git-scm.com/docs/git-whatchanged):

"New users are encouraged to use git-log(1) instead. The whatchanged command is essentially the same as git-log(1) but defaults to show the raw format diff output and to skip merges.

The command is kept primarily for historical reasons; fingers of many people who learned Git long before git log was invented by reading Linux kernel mailing list are trained to type it."
This commit is contained in:
Ali Servet Donmez 2016-06-07 09:42:13 +02:00
parent 2e647b5ea9
commit ba5cd1c4f1
1 changed files with 2 additions and 1 deletions

View File

@ -89,7 +89,8 @@
"tip": "curl http://git.io/vfhol > ~/.git-completion.bash && echo '[ -f ~/.git-completion.bash ] && . ~/.git-completion.bash' >> ~/.bashrc"
}, {
"title": "What changed since two weeks?",
"tip": "git whatchanged --since='2 weeks ago'"
"tip": "git log --no-merges --raw --since='2 weeks ago'",
"alternatives": ["git whatchanged --since='2 weeks ago'"]
}, {
"title": "See all commits made since forking from master",
"tip": "git log --no-merges --stat --reverse master.."