Skip to content

Instantly share code, notes, and snippets.

View shiftb's full-sized avatar

Brandon Leonardo shiftb

View GitHub Profile
@shiftb
shiftb / gist:366066
Created April 14, 2010 17:12 — forked from reinh/ship.sh
#!/bin/sh -x
# git name-rev is fail
CURRENT=`git branch | grep '\*' | awk '{print $2}'`
git checkout master
git merge ${CURRENT}
git push origin master
git checkout ${CURRENT}
@shiftb
shiftb / .bash_aliases
Created April 1, 2010 00:37
My default aliases
# In ~/.bash_aliases
## Git
alias g='git'
alias gcb='git checkout -b'
alias gpp="git pull && git push && git push --tags"
## Shell
alias ll='ls -lh'
alias reload='. ~/.bash_login'
alias tf='tail -f -n 100'