From bff66c3f4896566668bdad19b3eead39e98ab3b5 Mon Sep 17 00:00:00 2001 From: Jamie Humphries Date: Wed, 23 Apr 2014 10:23:54 +0100 Subject: [PATCH] Change options for ignoring packages in Visual Studio. Repository is fully ignored using `packages/` by default (so survives git clean -fd for example) Option to ignore using `packages/*` and add exception `!packages/reposirories.config` if required See this comment for context: http://git.io/VYTNww --- VisualStudio.gitignore | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/VisualStudio.gitignore b/VisualStudio.gitignore index 6dffb673..794350b4 100644 --- a/VisualStudio.gitignore +++ b/VisualStudio.gitignore @@ -127,8 +127,9 @@ publish/ *.pubxml # NuGet Packages Directory -packages/* -## TODO: If the tool you use requires repositories.config uncomment the next line +packages/ +## TODO: If the tool you use requires repositories.config comment the line above and uncomment the next two lines +#packages/* #!packages/repositories.config # Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets