Skip to content

Instantly share code, notes, and snippets.

@snerpton
Last active October 15, 2019 09:49
Show Gist options
  • Save snerpton/f8fd838a182da3998688 to your computer and use it in GitHub Desktop.
Save snerpton/f8fd838a182da3998688 to your computer and use it in GitHub Desktop.
HG ignore file for Umbraco projects
# Blueprint Web Tech .hgignore file
#
# Thanks to Offroadcode for the inspiration
#
# CA, 11 March 2016
#
# Offroadcode's Mercurial Ignore file
# visit /blog/2012/4/5/mercurial-ignore-file-for-umbraco/ for updates/additions
# Thanks!
#
###### Regular Expression matches #####
syntax: regexp
# None yet!
##### File globs to match ####
syntax: glob
# Data folders/files
#website/App_Browsers/*
website/App_Data/cache/*
website/App_Data/Logs/*
website/App_Data/preview/*
website/App_Data/TEMP/*
website/App_Data/umbraco.config
website/App_Data/justDelete*
website/App_Data/umbraco.licensing.log
*/ExamineIndexes/*
website/_systemUmbracoIndexDontDelete/*
# Dll's and related C# crud
*/bin/Debug/*
*/obj/Debug/*
*/obj/*
*.pdb
*.user
*.DS_Store
# Resharpener
*_ReSharper*
# ImageGen
*/Cached/*
website/[Mm]edia/*/Cached/
# Misc crud
website/[Ii]nstall ## Chris added
website/[Mm]edia ## Chris added
*.orig
*/Thumbs.db
*/log.txt
# For safety's sake
#web.config ## Chris thinks this should be in and we should use an external .config file to localise the main file.
# Visual Studio goodies taken from (http://stackoverflow.com/questions/4095696/mercurial-hgignore-for-visual-studio-2010-projects)
*.obj
*.pdb
*.user
*.aps
*.pch
*.vspscc
*.vssscc
*_i.c
*_p.c
*.ncb
*.suo
*.tlb
*.tlh
*.bak
*.cache
*.ilk
*.log
*.lib
*.sbr
*.scc
#[Bb]in ## Chris ignores this as we might want to version some dll, for instance ones that packages install. We will ignore the default Umbraco dlls.
[Dd]ebug*/
obj/
[Rr]elease*/
_ReSharper*/
[Tt]humbs.db
[Tt]est[Rr]esult*
[Bb]uild[Ll]og.*
*.[Pp]ublish.xml
*.resharper
###### Umbraco DLLs #####
# Keeping all DLLs under source control now
# Database compare
*.dcmp
*.scmp
###### Not sure about these yet #####
website/App_Data/Models/*
.vs/*
###### Project specific #####
hgAutoPullUpdate.ps1
website/tmp/*
website/[Ww]eb.[Cc]onnection[Ss]trings.config
website/[Ww]eb.[Cc]onnection[Ss]trings.[Ss][Aa][Mm][Pp][Ll][Ee].config
website/[Ww]eb.[Cc]onnection[Ss]trings.[Ss][Aa][Mm].config
website/[Ww]eb.[Cc]onnection[Ss]trings.[Pp][Hh][Ii][Ll].config
website/[Ww]eb.[Cc]onnection[Ss]trings.[Cc][Hh][Rr][Ii][Ss].config
website/[Ww]eb.[Cc]onnection[Ss]trings.[Mm][Aa][Tt][Tt].config
website/[Ww]eb.[Cc]onnection[Ss]trings.[Dd]ev.config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment