Skip to content

Instantly share code, notes, and snippets.

@dhruvdutt
Created July 30, 2018 10:34
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 dhruvdutt/be30811f3ce7446a55c0f00ffea5883b to your computer and use it in GitHub Desktop.
Save dhruvdutt/be30811f3ce7446a55c0f00ffea5883b to your computer and use it in GitHub Desktop.
Git Aliases
alias c="code"
alias d="docker"
alias gs="git status"
alias gl="git pull --rebase up"
alias gh="git push origin"
alias gr="git remote -v"
alias gc="git checkout"
alias gm="git commit -m"
alias gmm="git commit --amend"
alias gd="git diff"
alias gdn="git diff --numstat"
alias gds="git diff --shortstat"
alias ga="git add"
alias gg="git log"
alias y="yarn"
alias ys="yarn start"
alias ys="yarn build"
alias yw="yarn watch"
alias yr="yarn run"
alias yc="watchman watch-del-all && yarn start --reset-cache"
alias ycc="yarn cache clean"
alias n="npm"
alias rb="run bootstrap"
alias ad="adb devices"
alias w="cd $HOME/Workspace/webpack/webpack-cli"
alias wd="watchman watch-del-all"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment