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!

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

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.