“git init” failed, what's wrong?

前端 未结 6 1862
花落未央
花落未央 2021-02-07 10:26

This issue is not same as \"Bad git config file .git/config\", since it failed when using git init.

It seems there is nothing wrong with /home/mirror/.gitco

6条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-07 10:51

    Use the similar mode current instead of simple if you use a version of Git older than 1.7.11.

    git config --global push.default current
    

提交回复
热议问题