Git clone will clone remote branch into local. Is there any way to clone a specific branch by myself without switching branches on the remote repository? Jan 5, 2010ย ยท Don't forget to do a git fetch --all --prune on other machines after deleting the remote branch on the server. ||| After deleting the local branch with git branch -d and deleting the. I think you need to push a revert commit. So pull from github again, including the commit you want to revert, then use git revert and push the result. If you don't care about other people's clones.

Recommended for you

You may also like