标签:
git报错 Cannot update paths and switch to branch ‘snapshot_mixuse‘ at the same time.
错误如下:
dmj-parent git:(master) git checkout -b snapshot_mixuse --track origin/snapshot_mixusefatal: Cannot update paths and switch to branch ‘snapshot_mixuse‘ at the same time.Did you intend to checkout ‘origin/snapshot_mixuse‘ which can not be resolved as commit?? dmj-parent git:(master) git remote show origin* remote originFetch URL: git@git.superboss.cc:dmj/jxc.gitPush URL: git@git.superboss.cc:dmj/jxc.gitHEAD branch: masterRemote branches:master trackedsnapshot trackedsnapshot-item trackedsnapshot_mixuse new (next fetch will store in remotes/origin)snapshot_wlb trackedLocal branches configured for ‘git pull‘:master merges with remote mastersnapshot merges with remote snapshotsnapshot-item merges with remote snapshot-itemLocal refs configured for ‘git push‘:master pushes to master (local out of date)snapshot pushes to snapshot (local out of date)snapshot-item pushes to snapshot-item (up to date)? dmj-parent git:(master)
? dmj-parent git:(master) git remote updateFetching originremote: Counting objects: 28, done.remote: Compressing objects: 100% (22/22), done.remote: Total 28 (delta 14), reused 0 (delta 0)Unpacking objects: 100% (28/28), done.From git.superboss.cc:dmj/jxc* [new branch] snapshot_mixuse -> origin/snapshot_mixuse275fed2..b289f38 snapshot_wlb -> origin/snapshot_wlb? dmj-parent git:(master) git fetch? dmj-parent git:(master) git checkout -b snapshot_mixuse origin/snapshot_mixuseBranch snapshot_mixuse set up to track remote branch snapshot_mixuse from origin.Switched to a new branch ‘snapshot_mixuse‘
Cannot update paths and switch to branch 'snapshot_mixuse' at the same time.
标签:
原文地址:http://blog.csdn.net/mergades/article/details/51355387