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 init跟着git pull *repo*,现在我的文件夹中堆满了我不想要的文件。有没有办法摆脱它们?
git init
git pull *repo*
由于您刚刚进行了初始化(假设您不在 Windows 操作系统上):
dir=`pwd` cd .. rm -rf $dir mkdir $dir cd $dir git init