Created
February 29, 2016 21:50
-
-
Save bernbecht/e3a738026fe6f17fc75c to your computer and use it in GitHub Desktop.
Alias
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ------------------------------------------------------------------- | |
# Git | |
# ------------------------------------------------------------------- | |
alias ga='git add' | |
alias gp='git push' | |
alias gl='git log' | |
alias gs='git status' | |
alias gd='git diff' | |
alias gm='git commit -m' | |
alias gma='git commit -am' | |
alias gb='git branch' | |
alias gc='git checkout' | |
alias gra='git remote add' | |
alias grr='git remote rm' | |
alias gpu='git pull' | |
alias gcl='git clone' | |
alias gta='git tag -a -m' | |
alias gf='git reflog' | |
# leverage an alias from the ~/.gitconfig | |
alias gh='git hist' | |
# ------------------------------------------------------------------- | |
# Productivity | |
# ------------------------------------------------------------------- | |
alias p='cd ~/Projects' | |
alias st='open -a "Sublime Text"' | |
alias h='cd /Applications/XAMPP/xamppfiles/htdocs' | |
alias at='open -a "Atom"' | |
alias zsh-e='at ~/.zshrc' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment