Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在使用 git pull 和 git stash 时遇到问题,它给了我以下错误。
致命:无法取消链接'.vagrant/machines/default/virtualbox/id':权限被拒绝
在 vagrant 内部,如果我使用 git pull 那么它会说需要推送一些更改,事情是我不再想要这些更改。
所以,如果有人可以在这方面提供帮助。谢谢
看起来你想弄乱 vagrant 文件夹?你不应该碰它......它应该被添加到你的 .gitignore 文件中。
要强制拉动并丢失本地更改,您可以重置。
git reset --hard HEAD git pull