Skip to content

Instantly share code, notes, and snippets.

@copycut
Last active June 17, 2020 07:34
Show Gist options
  • Save copycut/80dad9f67974462812cd69bfe3d9a485 to your computer and use it in GitHub Desktop.
Save copycut/80dad9f67974462812cd69bfe3d9a485 to your computer and use it in GitHub Desktop.
My bashrc aliases
alias q='exit'
alias c='clear'
alias h='history'
alias cs='clear;ls'
#nav
alias ..='cd ..'
alias ...='cd ..; cd ..'
alias ....='cd ..; cd ..; cd ..'
alias root='cd /'
alias home='cd ~'
#git
alias g='git'
alias gs='git status'
alias gp='git pull'
alias gc="git checkout"
alias gcm="git checkout master"
alias com='git commit -m'
alias clone='git clone'
alias gl='git log'
alias ga='git add .'
alias gnew='git push --set-upstream origin'
#yarn
alias yqrn='yarn'
alias ys="yarn start"
alias yb="yarn build"
alias yt="yarn test"
alias ya="yarn add"
alias yr="yarn remove"
alias yupi='yarn upgrade-interactive --latest'
alias serve='python -m SimpleHTTPServer 8000'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment