Last active
April 30, 2021 09:51
-
-
Save shotaK/ed53f565fed0655f65fd14ecd456b336 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Edit: ~/.ssh/config | |
2) Add: | |
Host gitlab.com-companyName | |
HostName gitlab.com | |
User [email protected] | |
IdentityFile ~/.ssh/id_ed25519_companyName | |
3) Clone the repo: | |
git clone [email protected]:companyName/repoName.git | |
4) (Optional) Existed remote | |
git remote set-url origin [email protected]:companyName/repoName |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment