git error:The following untracked working tree files would be overwritten by checkout

Warning: This will delete the local files that are not indexed

git checkout -f another-branch

another-branch是你想要切换的分支


发布了21 篇原创文章 · 获赞 21 · 访问量 15万+

猜你喜欢

转载自blog.csdn.net/SeekN/article/details/52776138