Skip to content

Instantly share code, notes, and snippets.

@jsheridanwells
Last active November 11, 2018 17:01
Show Gist options
  • Save jsheridanwells/29ca37fed24c5578fdd6d57144e39feb to your computer and use it in GitHub Desktop.
Save jsheridanwells/29ca37fed24c5578fdd6d57144e39feb to your computer and use it in GitHub Desktop.
BashRC and ZshRC Sync
# GENERAL
alias c='clear'
alias ca='clear &&'
alias la='ls -la'
# GIT ALIASES
alias g='git'
alias gs='git status'
alias ga='git add'
alias gcmsg='git commit -m'
alias gca='git commit --amend'
alias gcne='git commit --amend --no-edit'
alias gpo='git push origin'
alias gp='git pull'
alias gb='git branch'
alias gbd='git branch -d'
alias gco='git checkout'
alias gcob='git checkout -b'
alias gwch='git whatchanged -p --abbrev-commit --pretty=medium'
alias glog='git log --oneline --decorate --graph --all'
alias grao='git remote add origin'
alias gpom='git push origin master'
# NPM ALIASES
alias ninit="npm init"
alias nr="npm run"
alias nrs="npm run serve"
alias nrws="npm run webservice"
alias nt="npm test"
alias nd="npm run dev"
alias nb="npm run build"
alias ni="npm install"
alias nid="npm install --save-dev"
alias nig="npm install -g"
alias nun="npm uninstall --save"
#DOTNET ALIASES
alias dn="dotnet"
alias dnr="dotnet run"
alias dnwr="dotnet watch run"
alias dnb="dotnet build"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment