Skip to content

Instantly share code, notes, and snippets.

@neomatrixcode
Forked from ernestohs/alias.sh
Created August 9, 2016 03:59
Show Gist options
  • Select an option

  • Save neomatrixcode/63aba23e8f84137938ad73942321cb1c to your computer and use it in GitHub Desktop.

Select an option

Save neomatrixcode/63aba23e8f84137938ad73942321cb1c to your computer and use it in GitHub Desktop.
how lazy am i
alias push='git push origin $(git rev-parse --abbrev-ref HEAD)'
alias pull='git pull origin $(git rev-parse --abbrev-ref HEAD)'
alias s="git status -s"
alias c="git commit -m "
alias a='git add . && git status -s'
alias l='git log'
alias undo='git checkout --'
alias reset='git reset --soft HEAD~1'
alias clean='git clean -dnx'
alias branch='git checkout -b'
alias friday='pull && git commit -a -m "Last changes from Friday" && push'
alias changes='git diff --'
alias nomerge='git merge --abort'
alias sn='sudo nano'
alias sd='sudo docker'
alias dp='sudo docker ps'
alias peek='sudo docker exec -it '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment