原文:(git项目更新时报错)The current branch is not configured for pull No value for key remote.origin.url found in configuration

.在本地工程目录找到config文件 我的是在E: workspace git sicm .git config .修改config文件内容为: core repositoryformatversion filemode false logallrefupdates true branch master remote origin merge refs heads master remote o ...

2018-03-29 14:07 0 1638 推荐指数:

查看详情

git pull报错:There is no tracking information for the current branch

是因为本地分支和远程分支没有建立联系 (使用git branch -vv 可以查看本地分支和远程分支的关联关系) .根据命令行提示只需要执行以下命令即可 即,解决方法: 或 git branch –set–upstream new ...

Thu Oct 12 06:54:00 CST 2017 0 23315
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM