Skip to content

Instantly share code, notes, and snippets.

@cerebrl
Last active December 19, 2015 03:28
Show Gist options
  • Save cerebrl/5890024 to your computer and use it in GitHub Desktop.
Save cerebrl/5890024 to your computer and use it in GitHub Desktop.
Bash Aliases
alias gitA="git add -A && git status "
alias gitS="git status "
alias gitPl="git pull "
alias gitCm="git commit -m "
alias gitACm="gitA && gitCm "
alias gitPPM="git pull && git push origin master "
alias gitPB="git push origin "
alias gitPg="git checkout gh-pages && git push origin gh-pages && git checkout master && git branch -d gh-pages"
alias gitCkM="git checkout master "
alias gitStPlPhi="git subtree pull --prefix=phi git@github.com:cerebralideas/phi.git "
alias gitStPsPhi="git subtree push --prefix=phi git@github.com:cerebralideas/phi.git "
alias gitStPlPF="git subtree pull --prefix=public git@github.com:cerebralideas/phi-framework.git "
alias gitStPsPF="git subtree push --prefix=public git@github.com:cerebralideas/phi-framework.git "
alias gitStPlPhi_public="git subtree pull --prefix=public/phi git@github.com:cerebralideas/phi.git "
alias gitStPsPhi_public="git subtree push --prefix=public/phi git@github.com:cerebralideas/phi.git "
# {{{
# Node Completion - Auto-generated, do not touch.
shopt -s progcomp
for f in $(command ls ~/.node-completion); do
f="$HOME/.node-completion/$f"
test -f "$f" && . "$f"
done
# }}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment