diff --git a/README.md b/README.md index 1f3a086..0743d19 100644 --- a/README.md +++ b/README.md @@ -274,6 +274,12 @@ curl http://git.io/vfhol > ~/.git-completion.bash && echo '[ -f ~/.git-completio ## What changed since two weeks? ```sh +git log --no-merges --raw --since='2 weeks ago' +``` + + +__Alternatives:__ +```sh git whatchanged --since='2 weeks ago' ``` diff --git a/tips.json b/tips.json index e28f846..4ecea28 100644 --- a/tips.json +++ b/tips.json @@ -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.."