I have ONE repository on GitHub , call him Repo-1 .
I want to first access this repository as the default Git .
Call this user User-1 .
I created SSH keypair , everything is fine, works fine .
I made an OTHER repository on GitHub , call him Repo-2 .
I made no changes to the local git on my laptop. No configuration changes, nothing.
Now - I want to clone from Repo-1 as User-2 (but from the same laptop ).
First of all: is it even possible?
Can local Git on the same laptop switch between "user accounts" be present as User-2 ? And then, from this identity, a clone from Repo-1, make some changes, and then click on Repo-1 ?
If possible, how to do it?
git github user
Martin Feb 19 '12 at 7:18 2012-02-19 07:18
source share