-
How To Work With Multiple Github Accounts on a single Machine when getting a new repo:
$ git config user.email "<email>" $ git config user.name "<username>" $ git remote add origin `[email protected]{my_username}:{owner-user-name}/{the-repo-name}.git` #for cloning $ git clone [email protected]{your-username}:{owner-user-name}/{the-repo-name}.git
- if
$ ssh-add -K ~/.ssh/id_rsa
didn't work : solution.
- if
-
make all commands run as sudo : solution
-
sudo -i
-
devhindo / linux Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License