From 322308e09a3776ec5be64753901fb945b396addf 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 directory in Visual Studio. Directory 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 thread for context: http://git.io/izzh3g --- 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