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

Engelbert Ebalo
Engelbert Ebalo
3,697 Points

GitHub: 1 User, 2 Computers

I've been developing on my laptop and been pushing to GitHub. I am the only user pushing to my private repo. I would like to start using my other desktop to work on the same project.

Are they any special things I need to do to be able to develop on both machines? any gotchas? I figure there would be issues seeing 2 different machines pushing with the same user account...

thanks in advance

2 Answers

Just add your second machines SSH key (assuming you use them) to your account and you should be set. No gotchas that I know of.

Faizal Heesyam
Faizal Heesyam
8,843 Points

agree with Nephi Shields , just add your second machine SSH keys to your GitHub account, then clone your existing project from the repo, and start working normally. any changes, just commit/push, and from the other machine you can always pull any updates, vice versa. i've been doing it, so far didn't encounter any 'gotcha' moment.