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
Bash – git bash change username
bashgituser-accounts
Related Topic
- Possible to ‘chain’ git repos
- Git for Windows – How to Tell Git Where to Find Private RSA Key
- Bash – How Do I Make A Bash Script for Git Checkin/Checkout
- GIT as a backup tool
- Bash – how to prevent git from using logged in username
- How to give username/password to git clone in a script, but not store credentials in .git/config
Best Answer
Change the configuration of the
origin
remote. See the REMOTES section of thegit-push(1)
man page for details.