Git URL Change

From time to time I download something via HTTPS and then need to push it back via SSH. This note reminds me that I’ve done this task before even though I need to look it up again. The full instrctions for setting the remote relationship is in the git documentation.

  1. Open Terminal .
  2. Change the current working directory to your local project.
  3. Change your remote’s URL from HTTPS to SSH with the git remote set-url command. $ git remote set-url origin
  4. Verify that the remote URL has changed. $ git remote -v
Hugh Paterson III
Hugh Paterson III
Collaborative Scholar

I specialize in bespoke research at the intersection of Linguistics, Law, Languages, and Technology; specifically utility and life-cycle management for information products in these spaces.