I am using git bash and its trying to use my Windows username to login with "git push origin Dev" but I want it to use a different name, my username on the remote. How can I change this? Thanks

link|improve this question

64% accept rate
feedback

2 Answers

up vote 1 down vote accepted

Change the configuration of the origin remote. See the REMOTES section of the git-push(1) man page for details.

link|improve this answer
Thanks! That work perfectly. – mike628 Jul 12 '11 at 12:12
feedback

If I understood the situation, the following commands should set the information that you desire in for git configuration.

git config --global user.name "Your Name Comes Here"
git config --global user.email you@yourdomain.example.com
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.