git on a regular basis for collaboration with other people. When we work together on a shared repository, I'd like to be able to view the changes performed by others which happened between my last commit and the current master branch (or the current
Until now I'm using the following workflow:
git fetch # download everything git merge # since I'm a trusting person ;) git logadog # my git-alias for `git log --all --decorate --oneline --graph` # manually look into how many commits were performed since my last commit git diff HEAD~3 # if 3 commits were performed since then
Alternatively, I could also use
git diff c0ffee (if my last commit was
Although that works, I'd prefer something simpler, like
git diff COMPARE_HEAD_WITH_THE_LAST_COMMIT_FROM_MY_USER, but I'm unsure how that would work.
I'm also using the awesome
fugitive by Tim Pope and if it would be possible to do this using the
:Gdiffsplit HEAD~THE_STUFF_FROM_ABOVE-syntax that would be amazing.