.gitignore 中可以使用绝对目录路径吗?我将以下内容放入 /var/www/bidjunction/.gitignore 中,但是,html 仍然被跟踪。为什么还被追踪?
/var/www/bidjunction/html/
编辑。有点偏离主题,但是当我不使用绝对路径时,不会添加任何内容。
[Michael@devserver bidjunction]$ cat .gitignore
html/
[Michael@devserver bidjunction]$ git add *
The following paths are ignored by one of your .gitignore files:
html
Use -f if you really want to add them.
fatal: no files added
[Michael@devserver bidjunction]$
None
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)