User Tools

Site Tools


git

Github

set url and ssh keys to push using ssh

ssh-keygen -t rsa -C "your_email@example.com"
cat ~/.ssh/id_rsa.pub

Copy the content in the SSH keys of your Github profile
Test:

 ssh -T git@github.com

push changes

in your local copy of the repository:

git remote set-url origin git@github.com:username/your-repository.git

Then once you changed something

git commit -am "your comment"
git push

Reference

git.txt · Last modified: 2020/10/11 18:16 by warnaud