Skip to content

Help us create more tutorials! Make a donation using the Donate button or become a member using the button below to hide this banner and track your progress.

Using Sass with Git

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.

Back to: Sass Course