News for hackers. Stuff that matters.
Re:Git is too hard by kemitche on Tuesday November 17, 2020 @12:14PM (#25126317)
There are few differences between "local" and "remote" main in GP's example. "origin/master" is a _local_ copy of the origin's master branch, and updated with every "git fetch". So "git push origin origin/master:master" resolves the "remote master was deleted" without having to stash/checkout/etc.

There are no comments on this comment yet.