- Collection of online classes
- master -> main
- @local
- git init
- git add .
- git commit -m "first upload"
- git branch -M main
- git remote add origin https://github.com/hpjeonGIT/class.git
- git push origin main
- git pull origin main
- ssh-keygen -t ed25519 -C "email_address"
- eval "$(ssh-agent -s)"
- ssh-add ~/.ssh/id_ed25519
- Add passphrase for higher security
- sudo apt-get install xclip
- xclip -selection clipboard < ~/.ssh/id_ed25519.pub
- Login to github -> settings -> add ssh-key
- Still git push orign main works as it used to work. SSH key is not working?