For future reference Github has an article going over the steps.

http://github.com/guides/multiple-github-accounts


On Nov 24, 7:25 pm, chris <[email protected]> wrote:
> Thanks for posting that.  I had found an article that touched on what
> you posted, but it wasn't as clear as you made it.
>
> On Nov 23, 10:42 pm, Dustin <[email protected]> wrote:
>
>
>
> > On Nov 23, 8:32 pm, chris <[email protected]> wrote:
>
> > > It would be rare that I would ever want to push anything from one
> > > account to another.  The reason for the two accounts was to split up
> > > personal and business projects.
>
> > in ~/.ssh/config, do something like this:
>
> > Host *.github.com
> >     Hostname github.com
>
> > Host work.github.com
> >     IdentifyFile ~/.ssh/work_dsa
>
> > Host personal.github.com
> >     IdentifyFile ~/.ssh/personal_dsa
>
> > Then just
>
> > git clone [email protected]/whatever
>
> > and
>
> > git clone [email protected]/whatever

--

You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/github?hl=en.


Reply via email to