News for hackers. Stuff that matters.
Re:Oh Shit, Git? by assbuttbuttass on Friday January 17, 2025 @12:05PM (#42740395)
> is there a command that simply moves a branch from one commit to another without changing anything else? It feels like it should be possible given how git works.

git switch -C master HEAD~

There are no comments on this comment yet.