原文:(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