Git: Change git remote URL

February 08, 2021

Masuk ke repository terlebih dahulu, kemudian gunakan perintah berikut:

$ git remote -v
$ git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
$ git remote -v
# Verify new remote URL
> origin  https://github.com/USERNAME/REPOSITORY.git (fetch)
> origin  https://github.com/USERNAME/REPOSITORY.git (push)

Sc: archive kuro.zone