Git cheatsheet
change date
:q!
to finish the commit in console
change author
batch rename author from commit, source (also resets date)
git rebase -r 32873fa26ea2e5068bbf489693cdceed8abdf0d8 --exec 'git commit --amend --no-edit --reset-author'
print URLs
origin https://github.com/hannesdelbeke/unimenu.wiki.git (fetch)
origin https://github.com/hannesdelbeke/unimenu.wiki.git (push)
change URL
Multiple GitHub accounts¶
to handle multiple hosts. go to config in the folder:
copy the hostname