Last active
August 20, 2021 02:00
-
-
Save cb-v4s/293e0dee218da1415c9288db6d2c8d03 to your computer and use it in GitHub Desktop.
clone a private repo
This file contains hidden or 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
| ssh-keygen -t ed25519 -C "yesx@domain.tld" -f ~/.ssh/foo | |
| ; then manually insert .pub key on the github account in settings > SSH and GPG keys > SSH keys | |
| ssh-agent bash -c 'ssh-add ~/.ssh/foo; git clone git@github.com:username/repo_name.git' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment