-
Open Terminal.
-
Create a fresh, bare clone of your repository:
git clone --bare https://github.com/user/repo.git
cd repo.git
- Edit the scripts with your variables.
- Edit
OLD_EMAIL
,CORRECT_NAME
andCORRECT_EMAIL
with your variables. # git push --force --tags origin 'refs/heads/*'
- Clean up the temporary clone.