I've removed a remote Git branch (and the local remote-tracking branch) using the command:
git push origin --delete <branch_name>
How do I undo this action?
I've removed a remote Git branch (and the local remote-tracking branch) using the command:
git push origin --delete <branch_name>
How do I undo this action?
Push last knows local version of that branch:
git push -f origin last_known_good_commit:branch_name