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
Post a Comment