每次我做git状态都有这个文件夹显示为未跟踪。git仍然未追踪追加
$ git status
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# src/error/
nothing added to commit but untracked files present (use "git add" to track)
即使在SRC /错误做git add .
,git commit -a
文件夹后一直显示为未跟踪。其他非分页文件每次都提交,只有这个文件夹不断给出问题。也git不报告任何错误。这里可能是什么问题?
你试过'git add src/error /'? – strager 2010-08-10 07:38:08
我试过,它没有工作我有一个文件在该文件夹中,我也尝试直接添加该文件也无法正常工作。 – slayerIQ 2010-08-10 07:42:20
您是否尝试在src/error下添加特定文件?你在.gitignore文件中有什么? – David 2010-08-10 07:55:11