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.

Development Tools

Laura Cressman
Laura Cressman
12,548 Points

Git Challenge?

Hi everyone, I don't know what this question is asking... I've got my own copy of the repository hosted at http://tommysgitstuff.com/git_basics/cool_stuff.git. What command would you use to add my copy of the repository as a remote? Give the remote the name "tommy."

Any help? Thanks:) Laura

2 Answers

It's completely really me. And yes, so many feels.

Laura Cressman
Laura Cressman
12,548 Points

It's so nice to stay connected :)

Hey Laura!

I'm not totally sure I get your question: Are you trying to upload your local project to your personal github account?

  1. cd yourlocalcopy
  2. git init
  3. git add .
  4. git commit -m 'First commit'
  5. //go to github.com and make a new repo in your account
  6. git remote add origin https://github.com/yourgit/yourrepo.git
  7. git push origin master
Laura Cressman
Laura Cressman
12,548 Points

OH MY GOSH is it really you Etai???

Laura Cressman
Laura Cressman
12,548 Points

I cannot handle right now OMG like I know you in real life