Skip to content

Instantly share code, notes, and snippets.

@step-pritpal
Last active May 24, 2016 10:48
Show Gist options
  • Save step-pritpal/4b630f47a9cbe15ec850 to your computer and use it in GitHub Desktop.
Save step-pritpal/4b630f47a9cbe15ec850 to your computer and use it in GitHub Desktop.
Aliases for GIT
alias ug='ungit --port 8081'
alias alias_edit='sudo vi ~/.bashrc'
alias gs='git status'
alias gc='git commit'
alias gd='git diff'
alias ga='git add'
alias gaa='git add -A'
alias gp='git pull'
alias gpu='git push'
alias gr='git reset'
alias grh='git reset --hard'
alias ws='cd ~/workspace'
alias sr="sudo service apache2 restart && sudo service mysql restart"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment