我有一个包含ignored
文件夹的.gitignore但是当我尝试拉取时我得到错误:
ubuntu@ip:/some/folder$ sudo -u www-data git pull
error: The following untracked working tree files would be overwritten by merge:
ignored/file_A
ignored/file_B
ignored/file_C
...
Please move or remove them before you can merge.
Aborting
为什么git会对我在.gitignore中的东西感到困扰?有没有办法解决这个问题而不删除ignored
文件夹?