Can I destroy and recreate a Git remote branch in one command?
If you are allowed to rewrite the remote branch, you can use git push --force my_remote my_branch
.
If you are allowed to rewrite the remote branch, you can use git push --force my_remote my_branch
.