Skip to content

Instantly share code, notes, and snippets.

@dreamr
Created September 17, 2013 15:42
Show Gist options
  • Save dreamr/6596153 to your computer and use it in GitHub Desktop.
Save dreamr/6596153 to your computer and use it in GitHub Desktop.
alias rtest='ruby -Ilib -Itest '
alias gs="git status"
alias gcb="git checkout -b "
alias gch="git checkout "
alias gca="git commit -a"
alias gpo="git push origin "
alias gri="git rebase -i "
alias gfo="git fetch origin"
alias gl='git log --pretty='\''format:%Cblue%h%d%Creset %ar %Cgreen%an%Creset %s'\'' --graph'
gfr="git fetch origin; git reset --hard"
function gcm {
git commit -m '$1'
}
function gdl {
git branch -D $1
git push origin :$1
}
alias mine='git branch | grep dreamr'
alias be="bundle exec "
# tmux
alias tsp='tmux split-window'
alias tvsp='tmux vsplit-window'
alias csd="cap staging deploy"
## Project shortcuts
# ClickServe
alias cs="cd proj/1click/clickserve/"
# Pivotal stuffs
function ops {
id=$1
if [ ${#id} == '8' ]
then open https://www.pivotaltracker.com/story/show/$1
else open https://www.pivotaltracker.com/epic/show/$1
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment