git客户端sourcetree使用的一个小问题

在实际应用sourcetree时发现过一个问题:sourcetree fatal: unable to auto-detect email address (got 'erik@DESKTOP-1NFVBU6.(none)')

然后按照在论坛上面的说法设置了

git config --global user.email " [email protected] "
git config --global user.name " xxx "
结果还是报错。
最后设置了eclipse里面git的config:注意选择Repository 为要操作的项目!


 
 
 
 
最后操作ok!
 
 
 

猜你喜欢

转载自yunqiang-zhang-hotmail-com.iteye.com/blog/2350881