How can I rewrite all history to change author and email?
git filter-branch -f --env-filter \
"GIT_AUTHOR_NAME='Newname'; GIT_AUTHOR_EMAIL='newemail'; \
GIT_COMMITTER_NAME='committed-name'; GIT_COMMITTER_EMAIL='committed-email';" HEAD
git config --global diff.noprefix true
git commit --date=20191130T20:24:00
git log --pretty=format: --name-only --diff-filter=A | sort -u
Warning, this will rewrite history
git filter-branch --index-filter 'git rm --cached --ignore-unmatch <filename>' HEAD
git config --global push.followTags true
git push origin --delete origin master
git rebase -i --root
FILTER_BRANCH_SQUELCH_WARNING=1 git filter-branch -f --prune-empty