zoukankan      html  css  js  c++  java
  • (git项目更新时报错)The current branch is not configured for pull No value for key remote.origin.url found in configuration

    1.在本地工程目录找到config文件(我的是在E:workspace_gitsicm.gitconfig);

    2.修改config文件内容为:

    [core]
        repositoryformatversion = 0
        filemode = false
        logallrefupdates = true
        [branch "master"] 
            remote = origin 
            merge = refs/heads/master 
        [remote "origin"] 
            url = http://192.168.72.223/zhsq/sicm.git   (修改为自己的url,git项目的地址)
            fetch = +refs/heads/*:refs/remotes/origin/*

    3.再次执行pull方法,发现工作ok了

  • 相关阅读:
    Alpha冲刺
    Alpha冲刺
    抽奖系统(记一次未完成的教训)
    Alpha冲刺
    软件工程
    软工实践
    软工实践
    软工实践
    软工实践
    软工实践
  • 原文地址:https://www.cnblogs.com/weyine/p/8669484.html
Copyright © 2011-2022 走看看