Joined November 2012
·

Ismael Abreu

Porto
·
·
·

Posted to Delete all the merged branches in git over 1 year ago

For not deleting master

git branch --merged | grep -v '^* master$' | grep -v '^ master$' | xargs git branch -d

Posted to Delete ALL your installed gems over 1 year ago

Hi!

You can use this command :) I'm actually going to create a new protip for this.

du -h -d 0 `gem environment gemdir`
Achievements
176 Karma
3,982 Total ProTip Views
Interests & Skills