- Terminal
- Git
- Open "Git Bash" or Terminal
- [Do not include the curly bracket and change the contents inside with your own]
git config --global user.name {Your Name} - [Do not include the curly bracket and change the contents inside with your own]
git config --global user.email {Your@email.com} - [Do not include the curly bracket and change the contents inside with your own]
git config --global init.defaultBranch main
- Open "Git Bash"
- Start key agent by typing
eval "$(ssh-agent -s)"
- Create SSH Key, [Do not include the curly bracket and change the contents inside with your own]
ssh-keygen -t ed25519 -C {youremail@example.com} - Copy SSH key by typing
clip < ~/.ssh/id_ed25519.pub
- Go to GitHub and add the SSH key in your account settings
- Go back to "Git Bash" and type this to confirm your SSH key was added
ssh -T git@github.com