Shell/Bash: change git remote Example
Shell/Bash Example: This is the "change git remote" Example. compiled from many sources on the internet by SimpleTutorials.org
git update remote origin
git remote set-url origin new.git.url/here
git config remote.origin.url
# change remote url git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
change git remote
git remote set-url origin [email protected]:user/repository2.git
change remote repository git
git remote set-url origin [email protected]:/your-repository.git
git set origin
git remote -v git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
change remote url git
git remote set-url origin https://hostname/USERNAME/REPOSITORY.git
* Summary: This "change git remote" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!