git config --global user.name "SunDi3yansyah"
git config --global user.email "sundi3yansyah@gmail.com"
ls -al ~/.ssh
# if not exist
mkdir ~/.ssh
ssh-keygen -t rsa -b 4096 -C "sundi3yansyah@gmail.com"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
cat ~/.ssh/id_rsa.pub
Add
id_rsa.pub
to => https://github.com/settings/keys
Copy passphrase for auto login