Skip to content

Instantly share code, notes, and snippets.

@m1r4z
Created August 25, 2021 18:38
Show Gist options
  • Save m1r4z/db8b42487772988bc2ab9726f602a91b to your computer and use it in GitHub Desktop.
Save m1r4z/db8b42487772988bc2ab9726f602a91b to your computer and use it in GitHub Desktop.
importants git command
change author name of all commit
------------------------------------------
git filter-branch -f --env-filter "GIT_AUTHOR_NAME='yourname'; GIT_AUTHOR_EMAIL='youremail@example.com'; GIT_COMMITTER_NAME='yourname'; GIT_COMMITTER_EMAIL='youremail@example.com';" HEAD;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment