[SR-Dev] what is git equivalent of 'svn revert'
Juha Heinanen
jh at tutpro.com
Mon Apr 20 11:25:23 CEST 2009
Juha Heinanen writes:
> i did some adds/commits, but did not push them yet. now i want to get
> my repo to clean stage it was before all this. in svn world i would
> give command 'svn revert', but with git i haven't found anything simple
> (nor working complicated) way to accomplish it. is there any?
looks like
git reset --hard HEAD
did it.
-- juha
More information about the sr-dev
mailing list