Created
June 2, 2020 01:59
-
-
Save avinashsivaraman/7858311a4269ac912d72dd7b4a05c140 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#process mgmt | |
alias process='ps aux | grep -v grep | grep ' | |
alias c='clear' | |
alias cc='pbcopy <' | |
# npm scripts | |
alias ni='npm i' | |
alias nic='rm -rf node_modules && npm i' | |
alias ns='npm start' | |
alias nt='npm test' | |
alias nd='npm run dev' | |
alias ndeploy='npm run deploy' | |
#other | |
alias you='youtube-dl' | |
#github | |
alias g="git clone" | |
alias gac="git add . && git commit -m" | |
alias gi="git init && gac 'Initial commit'" | |
alias gp="git push" # + remote & branch names | |
alias gl="git pull" # + remote & branch names | |
# Pushing/pulling to origin remote | |
alias gpo="git push origin" # + branch name | |
alias glo="git pull origin" # + branch name | |
# Pushing/pulling to origin remote, master branch | |
alias gpom="git push origin master" | |
alias glom="git pull origin master" | |
alias gb="git branch" # + branch name | |
alias gc="git checkout" # + branch name | |
alias gcb="git checkout -b" # + branch name | |
alias s="git status -sb" | |
if [ -f ~/.bash_profile ]; then | |
. ~/.bash_profile | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment