Answer the question
In order to leave comments, you need to log in
How to exclude git files from commit?
We use Bitbucket.
in .gitignore:
/includes/Smarty/templates_c/
/templates_c/
Answer the question
In order to leave comments, you need to log in
There are other options why this happens:
in your .gitignore after the lines "/includes/Smarty/templates_c/
/templates_c/" there
may be an exception, for example:
"!*.c", as a result, all files with the .c extension will not be be ignored.
This can be either in .gitignore, which lies in the root directory of the repository, or deeper, for example, here /includes/.gitignore or here /includes/Smarty/.gitignore
And yet, maybe the same problem as this person: Why not does template work in .gitignore?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question