===== GIT FAQ ====== /*{{ :wiki:linux:linux_logo.png?360&nolink }} */ 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}} 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)