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.
我错误地将我的桌面设置为 master 分支,我在计算机上所做的所有更改现在都显示在 Visual Studio 代码中。有没有办法解决这个问题?
好的,所以我通过关于溢出的另一篇文章找到了如何自己做这件事(我是新手):
^C[~ (master #)]$ ls -al | grep .git
您应该看到以下文件: .git .gitconfig
qc^C[~ (master #)]$ rm -rf .git
(递归删除 .git 文件)