It may not align properly due to the fact that i have no login. When i try to open vs code, this error sentences popped up How can i solve it A javascript error occurred in the main process uncaught exception 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 of your github repository being broken, you can also delete and recreate the master branch on github after your reset I think this is not a duplicate of git undo last commit as it asks how to delete any commit from a branch I also think non of the answers actually address this question In the example that's b you. I have a master and a development branch in my repository I want to remove the master branch from my computer, so that i don't accidentally commit to it (it's happened.)
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?
OPEN