Copy current git branch into pasteboard (the Clipboard) on Mac OS X


git branch|grep '*'|tr -d '* \n'|pbcopy


Leave a Reply

Your email address will not be published.