Created
June 22, 2014 07:22
-
-
Save apbarrero/00364d4707070bd00a51 to your computer and use it in GitHub Desktop.
git ahead
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global alias.ahead '!git log HEAD..origin/$(git symbolic-ref HEAD | sed "s:refs/heads/::g")' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment