I want to change my local git username (bitbucket). I have already change the username for commit using :
$ git config --global user.name "John Doe"...
it works fine for the commit, but for the pull request the previous username appear again.
I want to change my local git username (bitbucket). I have already change the username for commit using :
$ git config --global user.name "John Doe"...
it works fine for the commit, but for the pull request the previous username appear again.
For last commit, amend commit:
git commit --amend --reset-author
For commits earlier, rebase with hash:
git rebase -i COMMIT_HASH
# and follow the interactive rebase