Skip to content

Instantly share code, notes, and snippets.

@etherealHero
Last active May 14, 2024 13:10
Show Gist options
  • Save etherealHero/be300c3dc91069223a7871c68c7e5503 to your computer and use it in GitHub Desktop.
Save etherealHero/be300c3dc91069223a7871c68c7e5503 to your computer and use it in GitHub Desktop.
# change git author on local machine
git config --global --edit
git commit --amend --reset-author
git config --global user.name <username>
git config --global user.email <email>
git commit --amend --reset-author
git remote -v
git add . && git commit -m "try author" && git push
git pull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment