I have set the local user config using following command,
git config user.name "Ankur Tank"
git config user.email "ankur.tank@example.com"
git config --global is set for different user.
When I do git push, I see it is being pushed with global user name and email id.
How can I override global username and email? Is it possible ?
For git commit --author < > is possible but git push --author < > not available.
Any suggestions/pointer ?
Edit:
.git/config in my repo shows local user name what i have set. Even when i commit it takes local user name but for git push it take global user name and email.
 
    