↓ Archives ↓

Posts Tagged → repository

Mercurial (Hg) and Git Global Ignore Files for Windows

Last update: 16/11/2010

So yet another post that is meant mainly for myself, but maybe someone else will find in it as well.

The ignore pattern I use for Visual Studio projects is the same for both Mercurial and Git:

build/
*.suo
*.user
_ReSharper*
*.csproj.user
*.resharper.user
*.suo
*.cache
*.trx
Thumbs.db
[Bb]in
[Dd]ebug
[Oo]bj
[Rr]elease
[Tt]est[Rr]esult*
_UpgradeReport_Files
*[Pp]ublish.xml
*.project
*.metadata
logs
*.generated.cs
T4MVC.cs

The only difference is how to set global ignore rules for each of them. I found these two great tutorials for this:

UPDATE (16/11/2010): After using Hg for a while with my ASP.NET MVC projects I’ve added a few things to the ignore list.

Technorati Tags: , , , ,

TortoiseSVN Global Ignore Pattern

I’m mainly posting this for myself, so I don’t lose my SVN’s ignore pattern again. So here it is:

*.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo *.rej *~ #*# .#* .*.swp .DS_Store *bin *obj RECYCLER Bin *.user *.suo VSMacros80

I use it for Visual Studio for now. I will update this if I add something along the way.

Technorati Tags: , ,

';