我正在摆弄代码,现在不想提交这些文件。如何将其从要提交的文件列表中删除?
git status
On branch sign-up
Untracked files:
(use "git add <file>..." to include in what will be committed)
HEAD
description
hooks/
info/
sample_app/
nothing added to commit but untracked files present (use "git add" to track)
.git/
目录中发现的文件非常相似,这似乎有点可疑。您是否在.git
目录内执行了git init
命令? - Schwern