Skip to content

Instantly share code, notes, and snippets.

@Enelar
Last active October 20, 2015 12:43
Show Gist options
  • Save Enelar/19876d683020318c8c05 to your computer and use it in GitHub Desktop.
Save Enelar/19876d683020318c8c05 to your computer and use it in GitHub Desktop.
Git shortcuts for lazy developers
alias status='git status'
alias commit='git commit'
alias commitall='git commit -a'
alias amend='git commit --amend'
alias amendall='git commit -a --amend'
alias push='git push'
alias pull='git pull'
alias pushforce='git push -f'
alias submodule='git submodule'
alias add='git add'
alias branch='git branch'
alias checkout='git checkout'
alias wow='git diff'
alias publish='wow | less && commitall && push'
alias log='tail -f -n 50 /var/log/httpd/error_log'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment