Basic Git configuration
Add your user information to ~/.gitconfig
1[user]
2 name = VotreNom
3 email = VotreEmail@example.com
4
Generating and adding SSH key
- Create an SSH key :
1ssh-keygen -t ed25519 -C "votre_email@example.com"
- Launch the SSH agent :
1eval "$(ssh-agent -s)"
- Add the generated key :
1ssh-add ~/.ssh/id_ed25519
- Display to copy the public key :
1cat ~/.ssh/id_ed25519.pub
- You will need to paste it into your GIthub profile: Settings > SSH and GPG keys
Click on the New SSH KEY button
- All that's left is to give it a name and paste your key
I'm a web developer with a passion for creating modern, optimised solutions. Take a look at my projects or follow me to find out more about my work!