git remove origin
git remote rm heroku
3.57
7
git remote remove origin
Thank you!
7
0
4
1
git remote remove origin
Thank you!
1
0
4
1
$ git remote -v
# View current remotes
> origin https://github.com/OWNER/REPOSITORY.git (fetch)
> origin https://github.com/OWNER/REPOSITORY.git (push)
> destination https://github.com/FORKER/REPOSITORY.git (fetch)
> destination https://github.com/FORKER/REPOSITORY.git (push)
$ git remote rm destination
# Remove remote
$ git remote -v
# Verify it's gone
> origin https://github.com/OWNER/REPOSITORY.git (fetch)
> origin https://github.com/OWNER/REPOSITORY.git (push)
Thank you!
1
0
4.4
5
git remote remove origin
Thank you!
5
0
3
2
git remote set-url origin new.git.url/here
or
git remote rm origin
Thank you!
2
0
4
6
$ git remote -v
# View current remotes
> origin https://github.com/OWNER/REPOSITORY.git (fetch)
> origin https://github.com/OWNER/REPOSITORY.git (push)
> destination https://github.com/FORKER/REPOSITORY.git (fetch)
> destination https://github.com/FORKER/REPOSITORY.git (push)
$ git remote rm destination
# Remove remote
$ git remote -v
# Verify it's gone
> origin https://github.com/OWNER/REPOSITORY.git (fetch)
> origin https://github.com/OWNER/REPOSITORY.git (push)
Thank you!
6
0
4.29
7
git remote set-url origin new.git.url/here
or
git remote rm origin
Thank you!
7
0
4
4
git remote rm origin
Thank you!
4
0
Are there any code examples left?
New code examples in category Shell/Bash