Terminal shortcuts

Edit the .bash_profile file using terminal:

nano ~/.bash_profile

Git Shortcuts:

# Git Add (ga), Commit (gc message), & Push (gp):

alias ga="git add ."

gc ()
{
  git commit -m "$1"
}

alias gp="git push"

Shortcuts to cd to my most common projects:

# CD to my most common projects

alias cdpk="cd ~/code/active/processkit"
alias cdpksite="cd ~/code/active/sites/processkit-site"
alias cdbc="cd ~/code/active/sites/briancasel"

Last updated