Git elimina origine la distanță

Exemple de cod

25
0

cum să eliminați originea la distanță din git repo

git remote remove origin
20
0

git elimina de la distanță

$ 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)
6
0

eliminați git la distanță

# The example will remove the github remote. 
# Note that the command will not delete the repository, 
# just the local reference.
git remote rm origin
3
0

ștergeți adăugarea la distanță din local

git remote remove origin
2
0

elimină originea git

git remote rm origin
1
0

git elimină originea

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

În alte limbi

Această pagină este în alte limbi

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................