我已经使用git 8个月了,我刚刚遇到一个有趣的问题,未经跟踪的文件似乎在没有任何警告的情况下消失在我身上。这是我的控制台的pastebin:
消失的文件是:
正如您将看到的,当第一个"状态"打电话。这些文件永远消失了吗?我不知道我做了什么让他们消失。
答案 0 :(得分:2)
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Untracked files:
(use "git add <file>..." to include in what will be committed)
.gradle/2.6/
.idea/
.settings/gradle.prefs
GameCentricsAWS.iml
GameCentricsAWS2.iml
src/ *** here ***
tmpLibs/
Git告诉你整个src /`目录都没有跟踪,其中包含你的文件。