我不太确定自己在这种状态下的状态如何,但是由于某些原因,git将c:\ Users目录下的所有内容检测为未跟踪文件,因此当我执行git状态时,会得到以下信息:< / p>
>git status
On branch master
No commits yet
Untracked files:
(use "git add <file>..." to include in what will be committed)
../../../3D Objects/
../../../AppData/
../../../Contacts/
../../../Desktop/
../../../Documents/
../../../Downloads/
../../../Favorites/
../../../Google Drive/
../../../Links/
../../../Music/
..... and many more
很明显,我不希望这些被跟踪或提交。如何从git 中删除它们,而又不从文件系统中删除任何文件