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 trialMark Pecota
4,541 PointsCloning a github repository
I am able to clone a repository easily from github.com using the command:
git clone <github clone URL>
The project files are copied onto my local computer, but a repository is not created. Do I have to run git init to create a new repository locally?
How do I have the two repositories communicate with one another?
2 Answers
Stephen Whitfield
16,771 PointsGo to the directory where you cloned the project on your hard drive. Do you see a git folder in that directory? You should be able to get started pulling and fetching and whatnot to master after you clone a repo.
Mohd Maqbool Alam
Full Stack JavaScript Techdegree Student 5,715 Pointsjust fire the terminal and navagiate to the repo you had clone and then type command ls -la which will show the hidden files where u can see .git folder
Mark Pecota
4,541 PointsMark Pecota
4,541 PointsI wasn't deep enough in the directories :/ After I navigated one directory deeper I had the git folder. Thanks for the help.