`
mifi_cheung
  • 浏览: 6306 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

git使用问题解决不能pull

    博客分类:
  • Git
git 
阅读更多

一、尽量不要使用网易邮箱

二、修改config文件如下来解决不能pull问题

[core]

symlinks = false

repositoryformatversion = 0

filemode = false

logallrefupdates = true

[user]

name = xx@qq.com

email = xx@qq.com

[branch "master"] 

        remote = origin 

        merge = refs/heads/master

[remote "origin"] 

  url = https://github.com/xx/Mifi_Test.git

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

 

三、解决完冲突文件要先Add to git index  再 commit到本地合并,最后push

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics