VSTS 执行git pull报错问题修复

VSTS中进行双向同步配置的git pull指令如下:

运行时报错,Log如下图所示:

原因说的很清楚了,需要提前执行以下两条git config指令:

git config --global user.email "you@example.com"
git config --global user.name "Your Name"

因此我们在执行git pull之前添加一个Command Line指令去执行git config即可,具体配置如下:
image.png

原文地址:https://www.cnblogs.com/sheng-jie/p/9075232.html