Working tree has modifications. Cannot add --git subtree 拉取错误

错误如图:

错误原因:

本地git有与远程仓库不同的地方,修改后撤销的操作也会被判定为与仓库不一致。将当前代码提交,并拉取仓库代码,保证代码完全一致后,再使用命令拉取即可。

发布了26 篇原创文章 · 获赞 10 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/hexiaohua95/article/details/95356516