INMYS WIKI

Инженерами для инженеров

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

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


wiki:git:start

Различия

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

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

Следующая версия
Предыдущая версия
wiki:git:start [2022/12/30 23:20] – создано Roman Abakumovwiki:git:start [2023/01/19 23:26] (текущий) Roman Abakumov
Строка 5: Строка 5:
  
 https://stackoverflow.com/questions/17577409/git-remove-merge-commit-from-history https://stackoverflow.com/questions/17577409/git-remove-merge-commit-from-history
 +
 +''GIT_AUTHOR_DATE="2020-10-24T18:00:00 +0200" GIT_COMMITTER_DATE=$GIT_AUTHOR_DATE git commit''
 +
 +https://levelup.gitconnected.com/how-to-commit-multiline-messages-in-git-commit-bcd76f81919c
 +
 +https://slmkitani.medium.com/change-git-commits-datetime-all-supported-formats-3522f4b1558d
 +
 +При ошибке ''fatal: detected dubious ownership in repository'' сделать:\\
 +''git config --global --add safe.directory *''
  
 {{indexmenu>.#2|skipfile+/index|start/ nsort tsort}} {{indexmenu>.#2|skipfile+/index|start/ nsort tsort}}
 +
 +<code>
 +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>
wiki/git/start.1672442457.txt.gz · Последнее изменение: 2022/12/30 23:20 — Roman Abakumov