Should github repository also have nuget package package?

What are the advantages / disadvantages OR the standard practice of including packages in the github repository?

+4
source share
2 answers

It has flaws similar to including the resulting code, such as the binaries of the project itself; anyone who updates packages will now have a bunch of commits that could potentially contradict those made by someone else who updated the packages, and it can become very messy for a zero win.

My .gitignore projects for .NET usually have the following:

packages/**/*
!packages/repositories.config

, , "", repositories.config, , nuget.

+5

, nuget. , ( nuget), git . (. https://docs.nuget.org/consume/package-restore), nuget . nuget docs , .

+2

Source: https://habr.com/ru/post/1606903/


All Articles