git change https to ssh
git remote remove origin && git remote add origin [email protected]
git change https to ssh
git remote remove origin && git remote add origin [email protected]
git specify ssh key for repo
# Add this to ~/.ssh/config
Host github.com
HostName github.com
IdentityFile ~/.ssh/id_rsa_github
git change ssh key
git config core.sshCommand "ssh -i ~/.ssh/id_rsa_example -F /dev/null"
git pull
git push
# Other way
edit .git/config file like:
[core]
sshCommand = ssh -i ~/.ssh/id_rsa_example -F /dev/null
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us