.gitignore for Scrivener

8 ignore rules for Scrivener, ready to copy into your repository.

Writing software

The complete .gitignore for Scrivener

# Generated by LFGitignore - https://lfgitignore.com
# Created: 2026-02-05 20:40:31 UTC
# Technologies: Scrivener

### Scrivener ###
*/Files/binder.autosave
*/Files/binder.backup
*/Files/search.indexes
*/Files/user.lock
*/Files/Docs/docs.checksum
*/Files/Data/docs.checksum
*/QuickLook/
*/Settings/ui.plist

What these Scrivener rules actually ignore

Every pattern below, and why it belongs in your .gitignore.

General

Pattern What it ignores
*/Files/binder.autosave General
*/Files/binder.backup General
*/Files/search.indexes General
*/Files/user.lock General
*/Files/Docs/docs.checksum General
*/Files/Data/docs.checksum General
*/QuickLook/ General
*/Settings/ui.plist General

How to use this .gitignore for Scrivener

  1. Copy the Scrivener rules above, or download the file directly.
  2. Create a file named .gitignore at the root of your Git repository and paste the rules into it.
  3. If some of those files are already tracked, run git rm -r --cached . then commit again — Git only applies ignore rules to untracked files.
  4. Commit the .gitignore so everyone on the team shares the same rules.

Other Tool .gitignore templates

See every Tool template