我输入了以下内容:
mkdir project_name
cd project_name
git init
touch .gitignore
git add .gitignore
我收到了以下回复:
The following paths are ignored by one of your .gitignore files:
.gitignore
Use -f if you really want to add them.
fatal: no files added
我找不到任何可能导致此问题的gitignore文件。是否有推荐的方法来查找导致此问题的原因?