Created
July 3, 2014 10:34
-
-
Save KushalP/133b2014d1899247dbd6 to your computer and use it in GitHub Desktop.
Example function for @Rem from his tweet here: https://twitter.com/rem/status/484645092217860097
This file contains hidden or 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 | |
function gp { | |
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD) | |
$(git push origin $CURRENT_BRANCH) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment