On 5/20/2011 3:05 PM, Andrej Mitrovic wrote:
I would also like to know how to uncommit a change which hasn't been pushed yet. So if I locally do: git add someFile.d git commit -m "woops wrong comment"I'd like to just uncommit that message. I couldn't find an easy way to do this.
What I do is rm -rf the entire project directory, then re-clone it from github. Voila!
(Yes, I suck at git. But I like it anyway.)