Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialcrystalh
Front End Web Development Techdegree Student 3,104 Pointswhat is the difference between create vs add a repository? Why is it sometimes I cannot add repository?
I don't understand the logic between create a repository vs adding a repository? Am I adding a repository to a existing repository that I have already created? If i create a repository under My Documents\GitHub\ and name it my_site. How do i add a repository under my_site?
1 Answer
Steve Brewer
15,030 PointsCreate will make a new folder, add will add an existing folder. So if you have a folder with project files in it already it will already have those ready to commit.
crystalh
Front End Web Development Techdegree Student 3,104 Pointscrystalh
Front End Web Development Techdegree Student 3,104 PointsThank you Steve. I just realized the 'Changes' and 'History' tabs on the top. I was always on the History tab so I never see the files I added. And sometimes it goes back to the Changes tab when I click the tutorial repository. I was so confused. Now i feel stupid, this what drives me crazy the past couple of days.