Skip to content

Instantly share code, notes, and snippets.

@micahredding
Last active January 24, 2020 20:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save micahredding/dfa33abe41ffcdb389ac to your computer and use it in GitHub Desktop.
Save micahredding/dfa33abe41ffcdb389ac to your computer and use it in GitHub Desktop.
Add these aliases to zshrc
#### 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