Skip to content

Try our new Crash Courses!

Buy one of our new Crash Courses, now hosted on Teachable.

Using Sass with Git


When using Sass with Git, you should add the CSS file(s) or folder to your .gitignore file.


If your generated CSS files are inside a css folder, you should add the following entry to your .gitignore file:


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:



There are no exercises for this lesson.


No references available for this article.

Back to: Sass Reference