Can you write comments in a
If so, should the line be preceded with a
# or some other indicator?
This question is tagged with
~ Asked on 2012-01-14 22:25:04
Yes, you may put comments in there. They however must start at the beginning of a line.
The rules for the patterns you can put in the .gitignore file are as follows:
- Blank lines or lines starting with # are ignored.
The comment character is
# no .a files *.a
~ Answered on 2012-01-14 22:26:55
git help gitignore
You will get the help page with following line:
A line starting with # serves as a comment.
~ Answered on 2012-01-14 22:32:16