Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add comments/remarks to .gitattributes

Is it possible to add comments or remarks to a .gitattributes file?

If yes, how exactly do comment lines look like?

like image 428
Silicomancer Avatar asked Nov 28 '16 15:11

Silicomancer


People also ask

Should .gitattributes be committed?

The . gitattributes file must be created in the root of the repository and committed like any other file.

How do I open a .gitattributes file?

If you cannot open your GITATTRIBUTES file correctly, try to right-click or long-press the file. Then click "Open with" and choose an application. You can also display a GITATTRIBUTES file directly in the browser: Just drag the file onto this browser window and drop it.


1 Answers

# This is a comment!

in .gitattributes.

like image 133
tehp Avatar answered Sep 23 '22 11:09

tehp