Somehow all authors and commiters have been renamed to "Minecrafterserver". I have Minecraft with Spigiot (Minecraft plugins programmed) on the computer, no idea how it interferes with Github?
How can I change everything back to my username?
I've tried a lot, but it hasn't worked so far.
Win10 PC
It was always said that he doesn't know the whole GIT_COMMITER_NAME etc
So you have
#! / Bin / sh
git filter-branch --env-filter '
OLD_EMAIL = "your-old-email@example.com"
CORRECT_NAME = "Your Correct Name"
CORRECT_EMAIL = "your-correct-email@example.com"
if ["$ GIT_COMMITTER_EMAIL" = "$ OLD_EMAIL"]
then
export GIT_COMMITTER_NAME = "$ CORRECT_NAME"
export GIT_COMMITTER_EMAIL = "$ CORRECT_EMAIL"
fi
if ["$ GIT_AUTHOR_EMAIL" = "$ OLD_EMAIL"]
then
export GIT_AUTHOR_NAME = "$ CORRECT_NAME"
export GIT_AUTHOR_EMAIL = "$ CORRECT_EMAIL"
fi
'--tag-name-filter cat - --branches --tags
already tried, yes?
Yes. Just tried one of the comments again:
git --push --force origin HEAD: master
Now I'm standing as an author, but not as a commiter
Really there always comes "fatal: bad revision 'CORRECT_NAME = --- USERNAME ---'"