Ложь возврата говорит для не принятия мер по умолчанию, которые в случае <a href>
должны перейти по ссылке. Когда Вы возвратите false к onclick, тогда href будет проигнорирован.
As I found in this post, .gitignore
only works for untracked files. If you added files to repository, you can:
git update-index --assume-unchanged <file>
or remove them from repository by
git rm --cached <file>
Edit
This article explains that too
From man git-lsfiles:
-i, --ignored
Show ignored files in the output. Note that this also reverses any exclude list present.
Personally I tend to keep doxygen files in my source tree, so I simply added this to my .gitignore (which is in the topmost directory of my source tree):
docs/*
Hope that helps.