.gitignore Generator for macOS Projects
Generate a proper .gitignore file for your project. Includes macOS-specific entries, IDE files, and framework-specific patterns.
Select your project type
Platform
IDEs & Editors
Extras
Already have a messy repo?
SweepKit helps clean the caches and build artifacts that .gitignore was meant to keep out. Free download for macOS.
Download SweepKitWhy Do You Need a .gitignore File?
A .gitignore file tells Git which files and directories to exclude from version control. Without one, your repository can end up tracking build artifacts, IDE configuration, cache files, environment variables, and other files that should not be shared or versioned.
On macOS, .DS_Store files are created in every directory you browse in Finder. Xcode creates xcuserdata directories, DerivedData folders, and build artifacts. Android Studio generates .gradle and build directories. A proper .gitignore prevents all of these from polluting your repository.
macOS-Specific .gitignore Entries
Every macOS developer should include .DS_Store, .AppleDouble, .LSOverride, and Thumbs.db in their .gitignore. These are system files that macOS creates automatically and have no place in a Git repository.