出于某种原因,当我设置我的 git 存储库时,git clone 列出了该特定驱动器中的所有文件,即
% git status # On branch master
# Changes not staged for commit:
# (use "git add/rm <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# deleted: index.html
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# ../../../-framework dla ASHA
# ../../../.CFUserTextEncoding
# ../../../.Trash/
# ../../../.Xauthority
输出要长得多,这使得项目管理有点痛苦。
我不知道为什么会这样,我以前用过 git 但从来没有遇到过这个问题,这让我觉得我错过了一些明显的东西。