Skip to content

Karl-Horning/macos-gitignore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

macOS .gitignore

A .gitignore template for macOS users working with Word, Excel, and Affinity apps. Excludes system files, temporary backups, and autosaves.

Use case

Useful if you:

  • Version non-code projects—notes, documentation, or artwork
  • Want to avoid committing .DS_Store and other macOS noise

What's excluded

  • macOS system files.DS_Store, ._*, .AppleDouble, .Spotlight-V100, and more
  • Temporary and backup files*.tmp, *.bak, *~, *.swp, and more
  • Microsoft Office temp files~$*, *.wbk, *.xlk, and more
  • Affinity autosave files*.autosave, *.afdesign-preview, and more

Installation

  1. Copy the contents of .gitignore into your project's .gitignore.
  2. If you've already committed files you want ignored, run:
git rm -r --cached .
git add .
git commit -m "Apply .gitignore"

Contributing

To report an issue or suggest an addition, open an issue.

Pull requests are welcome. Keep changes focused—one concern per PR.

License

Released under the MIT License by Karl Horning.

About

A .gitignore template for macOS users working with Word, Excel, and Affinity apps. Excludes system files, temporary backups, and autosaves while keeping your actual project files tracked.

Topics

Resources

License

Stars

Watchers

Forks

Contributors