Created
February 27, 2018 16:44
-
-
Save Electrica/01e0e20d9bf0477ea44bda5d475dae03 to your computer and use it in GitHub Desktop.
Изменение адреса репозитория
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Изменить origin адрес репозитория двумя способами: | |
| 1) Первый способ задать url репозитория: | |
| использовать команду git remote set-url origin, например: | |
| git remote set-url origin [email protected]:vicman-wi/wi-backend.git | |
| 2) Второй способ: | |
| Отредактировать файл .git/config: секция [remote "origin"] параметр - url. | |
| Эти два способа идентичные. Т.е. вызов команды git remote set-url origin заменит содержимое git конфига |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment