Create SSH key
ssh-keygen -t ed25519 -C "[email protected]"
Save with default name - it saves a lot
Add public key to Github
Clone repo
git clone [email protected]:truhponen/home.git
Add your email
git config --global user.email "[email protected]"
Add your name
git config --global user.name "First Last-name"
Create GPG key
gpg --gen-key
Initialize
git secret init
Tell who you are
git secret tell [email protected]
Use same email as in GPG