Skip to content

Instantly share code, notes, and snippets.

@yeukhon
Last active December 11, 2015 19:39
Show Gist options
  • Save yeukhon/4650401 to your computer and use it in GitHub Desktop.
Save yeukhon/4650401 to your computer and use it in GitHub Desktop.
.hgignore You should ignore userdata/** and tell user to create it (or somehow you automate it).
# use glob syntax.
syntax: glob
*.swp
*.elc
*.pyc
*~
# switch to regexp syntax.
syntax: regexp
^\.pc/
# keep the directory and README.md only
userdata/(?!README.md$)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment