Skip to content

Instantly share code, notes, and snippets.

@dorkitude
Created December 22, 2011 20:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dorkitude/1511815 to your computer and use it in GitHub Desktop.
Save dorkitude/1511815 to your computer and use it in GitHub Desktop.
git convenience functions from my Mac's .profile
# git convenience functions
function grso() {
git remote show origin ;
}
function mkremotebranch() {
git branch "$@" ;
git checkout "$@" ;
git push -u origin "$@" ;
}
function rmremotebranch() {
git branch -d "$@" ;
git push origin ":$@" ;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment