Skip to content

Instantly share code, notes, and snippets.

@clauda
Last active December 9, 2015 17:28
Show Gist options
  • Save clauda/4303741 to your computer and use it in GitHub Desktop.
Save clauda/4303741 to your computer and use it in GitHub Desktop.
Git Aliases
alias st='git status'
alias pull='git pull origin master'
alias ci='git commit -m $1'
alias add='git add . '
push(){
if [ $# != 1 ]
then
git push origin master
else
git push $1 master
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment