git reset --hard <commit> superfluous?
- From
- chris@seberino.org <chris@seberino.org>
- Date
- Jan 3, 2009, 01:13 UTC
- Message-ID
- <20090103011319.GA24149@seberino.org>
David
git reset --hard <commit> "resets" the current branch head.
Is this equivalent to deleting the branch and doing
git branch <branch> <commit> ??
So "git reset --hard" is syntactic sugar and 'unnecessary' right?
cs