Re:Learn Enough Git to Be Dangerous
by brianwawok on Thursday February 04, 2016 @06:07PM
(#11038005)
Sure but I think OP was advocating rebasing a shared branch so that git bisect would always pass on each commit
[ Parent
| on HN ]
Re:Learn Enough Git to Be Dangerous
by setpatchaddress on Thursday February 04, 2016 @11:36PM
(#11039485)
git -f on a shared branch is a surefire way to lose commits. OMFG. It's better not to allow it at all. git revert will undo damage adequately, just not cleanly.
Re:Learn Enough Git to Be Dangerous
by brianwawok on Friday February 05, 2016 @09:05AM
(#11041427)
You usually won't lose commits with reflog, especially the more users of a repo the more reflogs.. but yes a disaster to go find them again...