Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
setpatchaddress
· 10y ago · 0 comments
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.
Comments
[–]
brianwawok
10y ago
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...