Github Basics Command
Github git
basic commands
Some basic git command and working with ssh keys to update the repository
git clone
ssh-keygen -t rsa -b 4096 -C "my comment "
vim ~/.ssh/config
eval "$(ssh-agent -s)"
ssh-add "my-private-key..."
git remote set-url origin [email protected]:"USERNAME"/"REPOSITORI.git"
git status
git add .
git commit -am "message/comment about changes"
git push
git pull
- another page with intro - https://dev.to/juni/git-and-github---must-know-commands-to-make-your-first-commit-333c
git with ssh key
- first create your ssh key
ssh-keygen -b 4096
- add the
.pub
key into your repository - check this setup - https://medium.com/@czarpino/how-to-tell-git-which-ssh-key-to-use-c8574fb243fd