Created
May 9, 2013 18:31
-
-
Save dominicmartineau/5549504 to your computer and use it in GitHub Desktop.
Git equivalent to 'hg out'. Put this into '/usr/local/bin/git-out' and then run 'git out' into your project folder.
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
#!/bin/sh | |
CURRENTBRANCH=$(git branch | grep "*" | sed "s/* //") | |
echo "Outgoing commits for branch "$CURRENTBRANCH | |
git log origin/$CURRENTBRANCH..$CURRENTBRANCH --name-status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment