美文网首页
git地址修改后修复方法

git地址修改后修复方法

作者: 林亚希 | 来源:发表于2020-10-15 16:37 被阅读0次

    - 进入项目.git文件夹下
    - 编辑配置文件 config 
    
    [core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
        ignorecase = true
        precomposeunicode = true
    [remote "origin"]
        url = http://yuchilin@**.**.**.**/yihao-server/yihao-center.git
        fetch = +refs/heads/*:refs/remotes/origin/*
    [branch "master"]
        remote = origin
        merge = refs/heads/master
    [branch "lyc_branch"]
        remote = origin
        merge = refs/heads/lyc_branch
    [branch "merge_branch"]
        remote = origin
        merge = refs/heads/merge_branch
    [branch "test_branch"]
        remote = origin
        merge = refs/heads/test_branch
    

    修改url地址为新的地址
    如:https://yuchilin@git.xmgoldnet.com/yihao-server/yihao-center.git

    相关文章

      网友评论

          本文标题:git地址修改后修复方法

          本文链接:https://www.haomeiwen.com/subject/joropktx.html