Is it possible to add comments or remarks to a .gitattributes file?
If yes, how exactly do comment lines look like?
Is it possible to add comments or remarks to a .gitattributes file?
If yes, how exactly do comment lines look like?
# This is a comment!
in .gitattributes.
Documented in https://git-scm.com/docs/gitattributes :
That is, a pattern followed by an attributes list, separated by whitespaces. Leading and trailing whitespaces are ignored. Lines that begin with # are ignored. Patterns that begin with a double quote are quoted in C style. When the pattern matches the path in question, the attributes listed on the line are given to the path.
© 2022 - 2024 — McMap. All rights reserved.