git 切换远程仓库出现如下问题: $ git checkout -b localdev origin/dev fatal: Cannot update paths and switch to branch 'localdev' at the same time. Did you intend to checkout 'origin/dev' which can not be resolved as commit? 解决方法:先执行git fetch origin.要下班了,详细情况下回在细说.
上午在学习廖雪峰老师的 git 教程(http://www.liaoxuefeng.com/),在添加远程仓库这一节中遇到了两个问题: 问题描述: 一.关联自己的远程仓库. fatal: Not a git repository (or any of the parent directories): .git 二.将本地库的内容推送到远程仓库. ! [rejected] master -> master (fetch first)error: failed to push some refs t