84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
我在用该指令创建一个分支之后。git branch new_featuregit checkout new_feature再用git checkout master指令他就无法切换到主分支。报错:error: pathspec 'master' did not match any file(s) known to git.请问这是怎么回事?求指导。谢谢!
走同样的路,发现不同的人生
This error should be that there is no master this branch, you can pass
master
git branch
See what branches are currently available or git checkout -b master switch back to the main branch.
git checkout -b master
This error should be that there is no
master
this branch, you can passSee what branches are currently available
or
git checkout -b master
switch back to the main branch.