Re: Rollback of git commands
From: Sean <hidden>
Date: 2016-06-15 22:43:54
On Tue, November 27, 2007 11:37 pm, Jon Smirl said:
Patch management is an important part of the work flow. I would hope that git implements patch management as a core feature in future versions. stgit/guilt/quilt are valuable since they blazed the trail and figured out what commands are useful. As time passes these features can become more highly integrated into core git.
Think this is a separate topic from where we started though.
Of course you've never screwed up a repository using git commands, right? I've messed up plenty. A good way to mess up a repo is to get the data in .git/* out of sync with what is in the repo. I'm getting good enough with git that I can fix most mess up with a few edits, but it took me two years to get to that point. Rolling back to a check point is way easier. User error and a command failing are both equally valid ways to mess up a repo.
What are you looking for that reflogs don't already handle? Cheers, Sean