I am trying to change the author name/email in my github commit. i found this script somewhere in google.
git filter-branch --env-filter 'GIT_AUTHOR_NAME="pubmem";GIT_AUTHOR_EMAIL="[email protected]";GIT_COMMITTER_NAME="pubmem";GIT_COMMITTER_EMAIL="[email protected]";' HEAD
this give me error Cannot rewrite branches: You have unstaged changes.
how to fix this problem, any help would be appreciate?
Thank you