Switching remote URLs from HTTPS to SSH
List existing URLs
- List your existing remotes in order to get the name of the remote you want to change.
git remote -v
# Output
origin https://github.com/JinnaBalu/jinnabalu.github.io.git (fetch)
origin https://github.com/JinnaBalu/jinnabalu.github.io.git (push)
Change your remote’s URL
- Change your remote’s URL from SSH to HTTPS with the
git remote set-url
command.
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
Posts on git
Related Post:
K8s Contributor Playground, Learning by Contributing
Adding Try in PWD button to README file
Open JDK docker container commands shell access to the container
AWS EBS Volmes - Create and attach the EBS volume with mounting
Elasticsearch - Dumping documents from multi-node to single node