Skip to content

Instantly share code, notes, and snippets.

Avatar

Michael Welch michaelgwelch

View GitHub Profile
@michaelgwelch
michaelgwelch / link_story2.user.js
Created Mar 24, 2012
A greasemonkey script that creates a link from commit to story on pivotal tracker
View link_story2.user.js
@schacon
schacon / gist:942899
Created Apr 26, 2011
delete all remote branches that have already been merged into master
View gist:942899
$ git branch -r --merged |
grep origin |
grep -v '>' |
grep -v master |
xargs -L1 |
awk '{split($0,a,"/"); print a[2]}' |
xargs git push origin --delete
You can’t perform that action at this time.