重装系统后git pull 不能用了,怎么回呢?git 已经 安装
巴扎黑
巴扎黑 2017-05-02 09:37:14
0
1
764

重装系统后git pull 不能用了,怎么回呢?

巴扎黑
巴扎黑

reply all(1)
Peter_Zhu

The global configuration file of git is often in the c drive (the same applies to other systems). Reinstalling the system may delete the configuration file. If name and email are not configured, git will not work properly.

It is recommended that the subject check whether name and email are configured. Enter under git bash: git config --global --list Check whether there is the following content:

If not, then this information is missing. Enter under git bash:

git config --global user.name="你的名字"
git config --global user,email="你的邮箱"
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template