INMYS WIKI

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

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

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


Action unknown: copypageplugin__copy
wiki:git:start

GIT FAQ

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 *

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)
wiki/git/start.txt · Последнее изменение: 2023/01/20 02:26 — Roman Abakumov