Ako nastaviť git

Posted on Sep 20, 2024
git config --global user.name "Mona Lisa"
git config --global user.email "your_email@example.com"
ssh-keygen -t ed25519 -C "your_email@example.com"
cd .ssh/
cat id_ed25519.pub

copy id_ed25519.pub

Github page

settings -> SSH and GPG keys -> new SSH key -> paste id_ed25519.pub