-1
I need help. I don’t know much about git and I’ve started to move it now. Somehow I created a new branch and now I can’t get back to the master branch. Error appears: pathspec 'master' Did not match any file(s) known to git. And the worst is that I created this branch by accident. It does me no good. And I can’t even delete it. I’m really lost. If someone has some stuff on git to tell me tbm, I’ll graduate.
Hey. Thanks. Dude, I used git fetch and didn’t get back to me. And when I used git branch I didn’t return anything.
– Alessandra Burckhalter
So it means there is no branch you want. It only exists locally, so you can send it to remote.
git push origin bug-456
– Iago Cavalcante