a newbie question about GitHub/version control
-
Here's a tip, always add this (official) gitignore to your project so you don't have to think about stuff like that. gitignore/VisualStudio.gitignore at main · github/gitignore · GitHub[^] There's a gitignore file for practically every language and/or editor. The packages folder is excluded in the gitigore, so it's best practice not to include your packages. More information: NuGet Packages and Source Control | Microsoft Learn[^]
Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
these two links are great:rose:
diligent hands rule....
-
thanks for this great link:rose: So if I clone this project from GitHub, I need to install NuGet package again into this project?
diligent hands rule....
No, if you build your project from Visual Studio it will automatically restore the NuGet package (if you have your setup configured correctly of course :-\ )
-
I have a Windows Form project on .NET using JSON.NET package. Should I also put all files under this folder onto GitHub repository?
diligent hands rule....
You can link their external repo: [Git - Submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules)
-
No, if you build your project from Visual Studio it will automatically restore the NuGet package (if you have your setup configured correctly of course :-\ )
appreciate your help. I learned new thing from you:thumbsup:
diligent hands rule....
-
You can link their external repo: [Git - Submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules)
thanks for the great info:rose:
diligent hands rule....
-
thanks for the great info:rose:
diligent hands rule....
Beware: submodules can be tricky, I only would advise using this when you have mastered the basics.
-
Beware: submodules can be tricky, I only would advise using this when you have mastered the basics.
thanks,I get your message.:rose:
diligent hands rule....
-
No, if you build your project from Visual Studio it will automatically restore the NuGet package (if you have your setup configured correctly of course :-\ )
it is working perfectly...
diligent hands rule....
-
Here's a tip, always add this (official) gitignore to your project so you don't have to think about stuff like that. gitignore/VisualStudio.gitignore at main · github/gitignore · GitHub[^] There's a gitignore file for practically every language and/or editor. The packages folder is excluded in the gitigore, so it's best practice not to include your packages. More information: NuGet Packages and Source Control | Microsoft Learn[^]
Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
-
It's included in the gitignore which excludes it from your git repository.
Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript