Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Adam Futrell11,976 Points
Large amount of files for Initial commit?
There seems to be alot of files for my initial commit of this project. The only things that I noticed that was different about my project was that I am on .NET version 4.7 and I checked the "Include unit tests" checkbox when creating the Solution. Your video contains 11 changes on the first commit, whereas mine contains 272 changes! Most of them appear to be package files (Razor, Webpages, MVC, etc). Is that normal?
Ryan Doubleday1,840 Points
Normal if you are not using a C#/.NET based .gitignore file.
Here is a great resource for Gitignore files (specifically one for Visual Studio based projects) https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
I was having trouble with this too :)
In Visual Studio, go to your Team Explorer view,
Go to your repo > go to settings > Repository Settings> and if you do not have a .gitignore already, you can create one and it will ignore all unnecessary files
Happy learning friends🐾