Skip to content

Commit 5efebe2

Browse files
committed
Enable Ignore of NuGet Packages Folder By Default
Submitting this for consideration. The first thing that I do on every new project is to go in and uncomment the packages folder. With the prevalence of NuGet and prominence of its use in the Visual Studio environment, along with how well package restore *just works* now, I believe this should be the default. While I understand that package restore isn't on by default, I would argue that the types of developers using NuGet _and_ a distributed SCM are the types of developers that would omit the binaries from source control.
1 parent 2544a6b commit 5efebe2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,8 @@ publish/
123123
*.azurePubxml
124124

125125
# NuGet Packages Directory
126-
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
127-
#packages/*
128-
## TODO: If the tool you use requires repositories.config, also uncomment the next line
126+
packages/*
127+
## TODO: If the tool you use requires repositories.config uncomment the next line
129128
#!packages/repositories.config
130129

131130
# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets

0 commit comments

Comments
 (0)