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 trial
Hi when first adding to a new repository ensure that you are in right local directory when initialising your git, this can be done by using the cd command plus the local address. It looks like you haven't actually initialise git in the directory.
Finally, when I clicked the link it seems as if the repository doesn't actually exist on GitHub, first create the repo then get the remote repository URL.
Here's a simple step by step process below
- Create your online repository on GitHub (Make note of the URL)
- In your local directory containing the files you wish to transfer type git init to initialise check using git status
- Use git add . with the full stop to prepare all files for transfer
- To finally commit your files use git commit -m "Any description"
- In the Command prompt, type git remote add origin "Copy the remote repo URL here" minus the quotations
- You can check if it is the correct url using git remote -v
- Finally to push your commit use git push origin master
Hope this helps!