Web Analytics Made
Easy - StatCounter

Git: changing repositories from https to ssh.

I’ve had to change a lot of repositories to use ssh (instead of https), and I always forget how to do it.

A real, in-depth post is from pandammonium.

What I do – once I remember – is go to the repository in question at GitHub, go to the code button, select ssh, and copy. Then, at the command line in the repo,

git remote set-url origin thing-you-copied-from-github

Then add, commit, push, whatever.

© Amy Tabb 2018 - 2022. All rights reserved. The contents of this site reflect my personal perspectives and not those of any other entity.