Created
June 13, 2014 18:22
-
-
Save paulstatezny/e88afdbff58f01cea1f7 to your computer and use it in GitHub Desktop.
A fish shell function for pushing the current (new) branch to the origin remote
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
function pushbranch | |
set branch (git rev-parse --abbrev-ref HEAD) | |
git push -u origin $branch | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment