News for hackers. Stuff that matters.
Re:Git undo: We can do better by MereInterest on Monday June 21, 2021 @03:21PM (#27583073)
Ooh, --force-with-lease looks like a nice feature, especially for updating github PRs that aren't yet merged. I still wouldn't want to use it where anybody else has a copy of the changes, since that's where you need a merge commit to avoid breaking somebody else's repo, but that gives me a safer option than a blind --force.
Re:Git undo: We can do better by urxvtcd on Tuesday June 22, 2021 @03:37AM (#27588995)
Just remember that --force-with-lease only protects you from overriding commits you have not yet fetched.