mirror of
https://github.com/namibia/tips.git
synced 2024-12-23 10:38:58 +00:00
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:
parent
2e647b5ea9
commit
ba5cd1c4f1
@ -89,7 +89,8 @@
|
|||||||
"tip": "curl http://git.io/vfhol > ~/.git-completion.bash && echo '[ -f ~/.git-completion.bash ] && . ~/.git-completion.bash' >> ~/.bashrc"
|
"tip": "curl http://git.io/vfhol > ~/.git-completion.bash && echo '[ -f ~/.git-completion.bash ] && . ~/.git-completion.bash' >> ~/.bashrc"
|
||||||
}, {
|
}, {
|
||||||
"title": "What changed since two weeks?",
|
"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",
|
"title": "See all commits made since forking from master",
|
||||||
"tip": "git log --no-merges --stat --reverse master.."
|
"tip": "git log --no-merges --stat --reverse master.."
|
||||||
|
Loading…
Reference in New Issue
Block a user