Re:Idiot Proof Git
by stephen_g on Friday November 11, 2022 @12:35AM
(#33557642)
Assuming your remote allows you to force push. Also you need to specify where to reset to because 'git reset --hard' will just reset you to HEAD, so you actually need to do 'git reset --hard HEAD~' (usually I don't use --hard for this either because often there's some work I want to keep from the commit).
[ Parent
| on HN ]
There are no comments on this comment yet.