I want to add emacs autosave files to my .gitignore with the glob #*#
but of course, lines starting with a hash are comment lines.
How can I get this into my .gitignore without it being treated as a comment?
See Question&Answers more detail:osI want to add emacs autosave files to my .gitignore with the glob #*#
but of course, lines starting with a hash are comment lines.
How can I get this into my .gitignore without it being treated as a comment?
See Question&Answers more detail:osDid you try
#*#
Since 1.6.2, should be supported in
.gitignore
(see this patch)
To be precise, 1.6.2.1 (March 2009)
.gitignore
learned to handle backslash as a quoting mechanism for comment introduction character "#
".