Horje
how to remove remote origin git Code Example
how to remove remote origin from git repo
git remote remove origin
git remove remote
$ 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)
remove remote git
# The example will remove the github remote. 
# Note that the command will not delete the repository, 
# just the local reference.
git remote rm origin
git remove origin
git remote set-url origin new.git.url/here
or
git remote rm origin
git remove remote file keep local
# for single file
git rm --cached myfile

# for directory file
git rm --cached --r myfile
how to remove remote origin git
git remote set-url origin git://new.url.here




Shell

Related
spotify download command line Code Example spotify download command line Code Example
check android studio path linux Code Example check android studio path linux Code Example
angular add universal Code Example angular add universal Code Example
install composer on ubuntu 20.04 Code Example install composer on ubuntu 20.04 Code Example
remobve git remote Code Example remobve git remote Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10