Skip to content

Instantly share code, notes, and snippets.

@FlyteWizard
Created May 2, 2019 18:22
Show Gist options
  • Save FlyteWizard/79e03a2e9961380a1f918201cac09597 to your computer and use it in GitHub Desktop.
Save FlyteWizard/79e03a2e9961380a1f918201cac09597 to your computer and use it in GitHub Desktop.
.gitignore for macOS (Original can be found here: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore)
# macOS
# When creating a .gitignore with the GitHub interface the macOS default doesn't appear in the dropdown.
# So I created this gist for easy access when I create new projects.
# General
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment