Skip to content

Instantly share code, notes, and snippets.

@fizerkhan
Forked from joshsmith/gist:2702906
Created March 8, 2013 12:21
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 fizerkhan/5116111 to your computer and use it in GitHub Desktop.
Save fizerkhan/5116111 to your computer and use it in GitHub Desktop.
# Directories
alias ..='cd ..'
alias cdd="cd -"
# Git
alias g='git status'
alias ga='git add -A'
alias gc='git commit -a -s'
alias gcb='git checkout -b' # Check out a new branch
alias hack='bash ~/hack.sh' # Hack on the branch
alias ship='bash ~/ship.sh' # Ship the feature
alias dwf='bash ~/dwf.sh' # Delete the working feature
alias hsd='hack && ship && dwf' # Hack, ship, delete
alias test='mocha ./test/controllers/* ./test/models/* --reporter landing' # Run tests using Mocha
# Node
alias n='node'
alias npmi='npm install'
# Nodejitsu
alias prod='jitsu deploy' # Deploy the current app to nodejitsu
alias logs='jitsu logs' # Show the current nodejitsu logs
function take {
mkdir $1
cd $1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment