Инструменты пользователя

Инструменты сайта


develop:git

Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слева Предыдущая версия
develop:git [2024/04/26 05:26]
admin
develop:git [2024/09/06 10:50] (текущий)
admin
Строка 383: Строка 383:
  
 <details> <details>
-<summary> :!: </summary>+<summary> :!: Cмена Remote</summary>
  
 <code bash> <code bash>
 +git remote -v
 +# View existing remotes
 +# origin  https://github.com/user/repo.git (fetch)
 +# origin  https://github.com/user/repo.git (push)
 +
 +git remote set-url origin https://github.com/user/repo2.git
 +# Change the 'origin' remote's URL
 +
 +git remote -v
 +# Verify new remote URL
 +# origin  https://github.com/user/repo2.git (fetch)
 +# origin  https://github.com/user/repo2.git (push)
 </code> </code>
 </details> </details>
develop/git.1714109163.txt.gz · Последнее изменение: 2024/04/26 05:26 — admin