← Back to context

Comment by sshine

13 hours ago

Are you saying push + undo = unpush?

You can undo a push, yes. It undoes the local state of the remote branches after the push operation. ie: branch@origin will point at the commit it did before the push action. It doesn't actually update the branch on the remote. That would require another push operation.