Skip to content

Instantly share code, notes, and snippets.

@karlstolley
Created January 25, 2011 19:15
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 karlstolley/795451 to your computer and use it in GitHub Desktop.
Save karlstolley/795451 to your computer and use it in GitHub Desktop.
My git aliases, which bespeak an unsound mind--but they work for me. So hey. Other prompt/terminal stuff, too.
# Karl's Git Aliases
alias gits='git status'
alias gita='git add'
alias gitm='git commit -m'
alias gitam='git commit -am'
alias gitpom='git push origin master'
alias gitplm='git pull origin master'
alias gitl='git log --pretty=oneline --abbrev-commit'
alias gitlf='git log --pretty=oneline --abbrev-commit --name-only'
alias gitdw='git diff --color-words'
alias gitra='git remote add'
alias gitcb='git checkout -b'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment