Just different useful stuff in order not to forget it
- Install Windows credential manager Git Credential Manager for Windows
- Run GCM and delete "github.com" entry
- Run
git config --global credential.helper manager
- Run
git config --global credential.github.com.useHttpPath true
- For all sites do
git config --global credential.useHttpPath true
- For all sites do
- When cloning do
git clone https://[email protected]/user/repo.git
- Also refer to link
- Run
ssh-add -l
. If don't have it, then - Run
ssh-add -K ~/.ssh/<id_private_key>
- Run
ssh-keygen -t ed25519 -C "[email protected]"
and store it to<id_private_key>
- Add to the
~/.ssh/config
:
Host *
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_ed25519
- Add to kechain
ssh-add -K ~/.ssh/<id_private_key>