Last active
September 10, 2018 06:05
-
-
Save weiting-tw/d6e2990c952ef27d88aa2c93dffb431a to your computer and use it in GitHub Desktop.
Changing author info
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Create a fresh, bare clone of your repository:
Copy and paste the script, replacing the following variables based on the information you gathered:
OLD_EMAILCORRECT_NAMECORRECT_EMAILupdate command:
git push --force --tags origin 'refs/heads/*'Clean up the temporary clone:
cd .. rm -rf repo.git