On 20-04 12:25, Juha Heinanen wrote:
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
Yes, in general it is 'git reset --hard <commit_id>' where commit id is the
sha1 identifier of a commit you want to reset to.
Jan.