Re:Too Smart for Git
by tekkub on Tuesday August 03, 2010 @04:59AM
(#1570563)
I assume you mean `git push origin :featureBranch`? Deletes a branch pointer on a remote repo. No data is lost, it just takes a little effort to dig it back up if you don't know what SHA the branch was at.
Re:Too Smart for Git
by etherael on Tuesday August 03, 2010 @02:17PM
(#1572100)
Yeah, that's the one I meant, I still find it extremely counterintuitive, one character is the difference between push my current changes to origin and delete the branch on the remote side.
git branch origin :featureBranch?
disclaimer; don't experiment in a data critical repo