>ssh-keygen -t ed25519 -C "mathieugfortin@gmail.com" Generating public/private ed25519 key pair. Enter file in which to save the key (/root/.ssh/id_ed25519): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/id_ed25519. Your public key has been saved in /root/.ssh/id_ed25519.pub. The key fingerprint is: SHA256:uFOPnKGEfi+WQNUJNRHJQcH392a5iKSf+rygGd4Unho mathieugfortin@gmail.com
>eval "$(ssh-agent -s)" >ssh-add ~/.ssh/id_ed25519 >ssh-add ~/.ssh/id_ssh_for_patate
>more ~/.ssh/id_ed25519.pub ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICoE3yRNPyzKbe4lx1DrPZvXeSwUbhIHwGDebBtZxwg8 mathieugfortin@gmail.com
Dans github, settings, SSH and GPG key, add key
cd /mnt/cache/cache_only/working/github/ mkdir repo cd repo git init git remote add origin ssh://git@github.com/mathieugfortin/repo.git
git init git add . git remote add origin https://github.com/mathieugfortin/budgetdb.git git commit -m “First commit” git branch -M main
#create new branch git checkout -b create_calendar_view git push origin create_calendar_view
open GitHub and do the following:
in \mnt\cache\cache_only\working\github\budget\.git\config, replace the token at the beginning of the URL