github with Multiple Accounts: An Analyst Perspective

March 10, 2012
By

[This article was first published on Gage Theory, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

After using github for data mining competitions and a project on statistical language models I found I enjoyed it some much I wanted to use it at work too. The trick is there’s a lot of overlap between what I do for fun and do for work and wanted to use both my public and private accounts on the same computer. Fortunately I wasn’t the first person to have this problem and I found a great tutorial on how to set up multiple github accounts here.

The only place I ran into an issue was in Step 2 when I attempted to add the new key to my ssh-agent using the Git Bash terminal and got the error:

“Could not open a connection to your authentication agent.”

What took me a moment to realize is that the “ssh-add” failed because my current session wasn’t running under the ssh-agent. To fire up the agent I ran:

exec ssh-agent bash

And then I was able to successfully add the key.

As more of a physical scientist than a computer scientist or software engineer I found getting up and running with git was a bit more overhead than I was hoping for. That said, it’s really a fantastic tool and I highly recommend it for any statisticians or data scientists who are considering a versioning tool.

To leave a comment for the author, please follow the link and comment on their blog: Gage Theory.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Tags:

Comments are closed.

Search R-bloggers

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)