Change Remote Origin Git Command Line Code Example


Example 1: change remote repository git


git remote set-url origin git@accountname.git.beanstalkapp.com:/your-repository.git

Example 2: how to change git remote origin


git remote set-url origin new.git.url/here

Example 3: git remote url change


$ git remote set-url origin https://github.com/USERNAME/REPOSITORY.git

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable