Skip to content

Instantly share code, notes, and snippets.

@mattbrailsford
Created December 13, 2012 12:01
Show Gist options
  • Save mattbrailsford/4275979 to your computer and use it in GitHub Desktop.
Save mattbrailsford/4275979 to your computer and use it in GitHub Desktop.
A copy of my .hgignore script for use in Umbraco
#########################################
# #
# TheOutfiled's Mercurial Ignore file #
# #
#########################################
##### File globs to match ####
syntax: glob
# Umbraco
*/App_Data/TEMP/*
*/App_Data/Logs/*
*/App_Data/preview/*
*/App_Data/umbraco.config
# Resharper
_ReSharper.*
# Visual Studio Stuff
*.obj
*.pdb
*.user
*.aps
*.pch
*.vspscc
*.vssscc
*_i.c
*_p.c
*.ncb
*.suo
*.tlb
*.tlh
*.bak
*.cache
*.ilk
*.log
*.lib
*.sbr
*.scc
*.csproj.user
*/obj/*
[Dd]ebug*/
[Rr]elease*/
*.[Pp]ublish.xml
# General
*.orig
*/Thumbs.db
*/log.txt
# ImageGen
*/Cached/*
# Squishit
*/cache/*
##### Regular Expression matches ####
syntax: regexp
# Don't commit project asset folders
^(Assets|Deploy|Db)/.*
# Only commit the bin folder in the Web.UI folder
^((?!Web.UI).)*/bin/.*$
# Don't commit any umbraco package files
.*/App_Data/[A-Za-z0-9]{8}-[A-Za-z0-9]{4}-[A-Za-z0-9]{4}-[A-Za-z0-9]{4}-[A-Za-z0-9]{12}/.*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment