diff options
author | synepis <argosynepis@gmail.com> | 2017-10-18 14:38:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-18 14:38:08 +0100 |
commit | 301da25ffd6f9af59de7050d01941c80e44ee154 (patch) | |
tree | 20d14395d075990f0e40627638db2a0501fb4980 /VisualStudio.gitignore | |
parent | 71b493f5dffb91b2a029845ebd1d30e6ea544f46 (diff) | |
download | gitignore-301da25ffd6f9af59de7050d01941c80e44ee154.tar.gz gitignore-301da25ffd6f9af59de7050d01941c80e44ee154.zip |
Ignore Nuget package directory name casing
It looks like VS2017 changed it's nuget package directory name to be capitalized.
When using Ubuntu for Windows, directory name casing of NuGet package folder becomes important and detected as a change by git,. This change is to ignore regardless of casing.
Diffstat (limited to 'VisualStudio.gitignore')
-rw-r--r-- | VisualStudio.gitignore | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/VisualStudio.gitignore b/VisualStudio.gitignore index 0867ec5a..509668db 100644 --- a/VisualStudio.gitignore +++ b/VisualStudio.gitignore @@ -171,11 +171,11 @@ PublishScripts/ # NuGet Packages *.nupkg # The packages folder can be ignored because of Package Restore -**/packages/* +**/[Pp]ackages/* # except build/, which is used as an MSBuild target. -!**/packages/build/ +!**/[Pp]ackages/build/ # Uncomment if necessary however generally it will be regenerated when needed -#!**/packages/repositories.config +#!**/[Pp]ackages/repositories.config # NuGet v3's project.json files produces more ignorable files *.nuget.props *.nuget.targets |