git cannot switch to master branch
怪我咯
怪我咯 2017-05-02 09:31:08
0
1
772

After I create a branch using this command. git branch new_featuregit checkout new_feature
and then using the git checkout master command will not switch to the main branch.
Error: error: pathspec 'master' did not match any file(s) known to git.
What is going on? Ask for guidance. Thanks!

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(1)
Ty80

This error should be that there is no master this branch, you can pass

git branch

See what branches are currently available
or git checkout -b master switch back to the main branch.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template