Loading

git pull“No remote repository specified”解决方法

git pull“No remote repository specified”解决方法

学习了:http://www.paopaoche.net/jiaocheng/77226.html

修改“.git”文件夹里面的“config”文件的url就可以了:

[core]

        repositoryformatversion = 0

        filemode = true

        bare = false

        logallrefupdates = true

        ignorecase = true

        precomposeunicode = false

[remote "origin"]

        url = https://github.com/checkfrank/checkfrank.github.io.git

        fetch = +refs/heads/*:refs/remotes/origin/*

        pushurl = https://github.com/checkfrank/checkfrank.github.io.git

[branch "master"]

        remote = origin

        merge = refs/heads/master

把其中换成你项目的地址就可以了:

 

posted @ 2018-05-13 16:52  stono  阅读(448)  评论(0编辑  收藏  举报