- Setup ssh keys
- Create ssh keys ssh-keygen -t rsa -b 4096 -C "i.obesulus@gmail.com"
- Copy the public key into Github -> Settings -> SSH -> Add key
- cat ~/.ssh/id_rsa.pub
- Authenticate public key ssh-add ~/.ssh/id_rsa
- Create a Github repository
- Click on the +
- Copy the SSH location
- git remote add origin git@github.com:pcinereus/.emacs.d.git
- git pull -u origin master
- add and commit
- git push -u origin master