原文:Please clean your repository working tree before checkout

记一次git报Please clean your repository working tree before checkout 想要刷新下代码就报这个错。分析是修改之后没添加没提交。 觉得可能是代码冲突了,就把代码先添加提交再pull,push 之后就没发现报错了, 先添加,提交再进行之后的操作 git add 命令将内容写入暂存区 git commit 命令将暂存区内容添加到本地仓库中 git ...

2021-05-24 16:52 0 9740 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM