Last active
January 24, 2020 20:51
-
-
Save micahredding/dfa33abe41ffcdb389ac to your computer and use it in GitHub Desktop.
Add these aliases to zshrc
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
#### PERSONAL ALIASES ##### | |
# GIT - https://thomashunter.name/blog/git-colored-output-shortcut-commands-autocompletion-and-bash-prompt/ | |
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 glo="git log --oneline" | |
alias gad="git add ." | |
alias gcd="git commit -am `date +%Y%m%d%H%M%S`" | |
alias god="git add . && git commit -am `date +%Y%m%d%H%M%S`" | |
alias showFiles='defaults write com.apple.finder AppleShowAllFiles YES; killall Finder /System/Library/CoreServices/Finder.app' | |
alias hideFiles='defaults write com.apple.finder AppleShowAllFiles NO; killall Finder /System/Library/CoreServices/Finder.app' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment