Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Sure but I think OP was advocating rebasing a shared branch so that git bisect would always pass on each commit


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.


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...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: