Use Ssh For Github Https Urls
February 16, 2022 · Note ·
1 min read · 34 words
Categories:
Git can be configured to use SSH in place of HTTPS for URLs matching a given
prefix. To use SSH for all GitHub access, add these lines to ~/.gitconfig:
[url "ssh://git@github.com/"]
insteadOf = https://github.com/
Comment on Twitter
You can leave a comment by replying this tweet.