5,332
edits
Line 94: | Line 94: | ||
Or you can create a custom .gitignore file at [https://www.gitignore.io gitignore.io]. | Or you can create a custom .gitignore file at [https://www.gitignore.io gitignore.io]. | ||
==gitattributes== | ==<code>.gitattributes</code>== | ||
.gitattributes are used to give attributes to paths.<br> | .gitattributes are used to give attributes to paths.<br> | ||
They can be used to assign programming languages to filenames.<br> | They can be used to assign programming languages to filenames.<br> | ||
They are also used to identify which files should be stored in the lfs.<br> | They are also used to identify which files should be stored in the lfs.<br> | ||
Here is an example to store video and images in the lfs.<br | [https://gitlab.davidl.me/-/snippets/1/raw/master/lfs.gitattributes Here] is an example to store video and images in the lfs.<br> | ||
==Clean== | ==Clean== |