Skip to content

Instantly share code, notes, and snippets.

@brunoadacosta
Created May 29, 2012 18:23
Show Gist options
  • Save brunoadacosta/2829872 to your computer and use it in GitHub Desktop.
Save brunoadacosta/2829872 to your computer and use it in GitHub Desktop.
Atalhos git
alias gitrebase="git checkout master && git pull origin master && git checkout work && git rebase master"
alias gitreb="git rebase master"
alias gitpush="git checkout work && git checkout master && git merge work && git push origin master && git checkout work"
alias gs="git status"
alias gogogo="gitrebase && gitpush"
alias gd="git diff"
alias gitupstream="git checkout master && git fetch upstream && git merge upstream/master && git push origin master && git checkout work"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment