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="pubmem@something.net";GIT_COMMITTER_NAME="pubmem";GIT_COMMITTER_EMAIL="pubmem@something.net";' HEAD
this give me error Cannot rewrite branches: You have unstaged changes.
how to fix this problem, any help would be appreciate?
Thank you