Summary
When using Sass with Git, you should add the CSS file(s) or folder to your .gitignore
file.
Details
If your generated CSS files are inside a css
folder, you should add the following entry to your .gitignore
file:
css/
If you only have a single CSS file in the root of your repo, you should add the file name to your .gitignore
file. For example, if your CSS file was named main.css
, you would add the following entry to your .gitignore
file:
main.css
Exercises
There are no exercises for this lesson.
References
No references available for this article.