- Add SSH Key to Github Settings → SSH and GPG Keys (more info at: GitHub Docs)
- Create/edit ssh-config file:
nano ~/.ssh/configand add following:
Host github.com
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_ed25519_github- Test the connection
ssh git@github.com - install yadm with your packagemanager (more info at: yadm Docs)
- Clone the repo with
yadm clone git@github.com:Gregor-zbjk/dotfiles.git& check withyadm status