You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 4, 2020. It is now read-only.
kadishmal edited this page Aug 13, 2011
·
6 revisions
Create a fix_repo.sh file in your repo:
cd my_repo
nano fix_repo.sh
And add the following code:
#!/bin/sh
git filter-branch --env-filter '
am="$GIT_AUTHOR_EMAIL"
cm="$GIT_COMMITTER_EMAIL"
if [ "$GIT_COMMITTER_EMAIL" = "none@none" ]
then
cm="kadishmal@gmail.com"
fi
if [ "$GIT_AUTHOR_EMAIL" = "none@none" ]
then
am="kadishmal@gmail.com"
fi
export GIT_AUTHOR_EMAIL="$am"
export GIT_COMMITTER_EMAIL="$cm"
'
Don't forget to leave the single quote (') at the end of the last line and at the end of the first line.