fatal: Cannot update paths and switch to branch 'master' at the same time.
2017-08-04 18:12
1921 查看
fatal: Cannot update paths and switch to branch ‘master’ at the same time.
Did you intend to checkout ‘origin/master’ which can not be resolved as commit?
‘origin/master’ which can not be resolved as commit
Strange: you need to check your remotes:
And make sure origin is fetched:
Then:
(to see if you do have fetched an origin/master branch)
执行上面三句代码,然后再执行:
git checkout -b master origin/master
Did you intend to checkout ‘origin/master’ which can not be resolved as commit?
‘origin/master’ which can not be resolved as commit
Strange: you need to check your remotes:
git remote -v
And make sure origin is fetched:
git fetch origin
Then:
git branch -avv
(to see if you do have fetched an origin/master branch)
执行上面三句代码,然后再执行:
git checkout -b master origin/master
相关文章推荐
- git checkout -b时fatal: Cannot update paths and switch to branch '' at the same time.解决方案
- fatal: Cannot update paths and switch to branch 'gitlab' at the same time.
- Cannot update paths and switch to branch at the same time(转)
- clone 远程分支 Cannot update paths and switch to branch 'dev' at the same time. Did you intend to checko
- Cannot update paths and switch to branch 'snapshot_mixuse' at the same time.
- Cannot update paths and switch to branch at the same time
- Cannot update paths and switch to branch at the same time
- Git问题:Cannot update paths and switch to branch 'dev' at the same time.
- Using MERGE in SQL Server to insert, update and delete at the same time
- C++0x : Inefficient way to perform trivial named args and default args at the same time
- mysqld_safe Can't log to error log and syslog at the same time.
- how to play music and record from the mic at the same time?
- Could I use NEON and VFP at the same time in my application?
- Running PHP(Apache) and ASP.NET(IIS) at port 80 at the same time
- [AngularFire2] Update multi collections at the same time with FirebaseRef
- Can ORACLE use both memory_target and AIX large pages at the same time ?
- How can a database be in-memory and durable at the same time?
- full backup and log backup can happen at the same time
- only one software management tool is allowed to run at the same time
- CocoaPods问题: CocoaPods was not able to update the `master` repo.if it is a unexpected issue and