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
#push to branch with branch name that you're currently on | |
#and then open new tab to your repo | |
function pushit { | |
branch_name=`git name-rev --name-only HEAD` | |
git push origin $branch_name | |
git status | |
open "https://github.com/yourRepo" | |
} |