Skip to content

Instantly share code, notes, and snippets.

@Oblongmana
Last active August 4, 2023 08:24
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Oblongmana/7130387 to your computer and use it in GitHub Desktop.
Save Oblongmana/7130387 to your computer and use it in GitHub Desktop.
Salesforce development gitignore file. Specific to a Sublime Text/MavensMate/OSX setup, used @TrineoLtd.Works well with this git alias for speeding up repo setup https://gist.github.com/Oblongmana/7145945. Curl with curl -o .gitignore https://gist.github.com/Oblongmana/7130387/raw/69aa9b661b0bd7300eff8648c65362c7f711f725/.gitignore-sf
#OSX-specific exclusions
.[dD][sS]_[sS]tore
#Sublime nature exclusions
*.sublime-workspace
*.sublime-project
#MavensMate nature exclusions
config/*
mm.log
#OPTIONAL Apex scripts exclusion
# - Rule 1 excludes the contents of the apex-scripts folder
# - Rule 2 adds in NAMED apex scripts
# Together: excludes scripts run though MavensMate’s
# execute anonymous functionality, while keeping named scripts
apex-scripts/*
!apex-scripts/*.cls
@kurunve
Copy link

kurunve commented Aug 9, 2016

curl, provided above, doesn't work anymore (there are some URL changes in github afaik). Please, update to next:
curl https://gist.githubusercontent.com/Oblongmana/7130387/raw/69aa9b661b0bd7300eff8648c65362c7f711f725/.gitignore-sf -o .gitignore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment