ssh git code example
Example 1: what is ssh key in github
$ cd ~/.ssh
$ ls
Example 2: ssh -t git
$ eval "$(ssh-agent -s)"
Example 3: git use ssh
git config --global url.ssh://[email protected]/.insteadOf https://github.com/
$ cd ~/.ssh
$ ls
$ eval "$(ssh-agent -s)"
git config --global url.ssh://[email protected]/.insteadOf https://github.com/