Answer the question
In order to leave comments, you need to log in
How to switch between git users?
On a computer it is necessary to work on behalf of two users. How to quickly switch settings without reconfiguring?
Answer the question
In order to leave comments, you need to log in
Aliases.
alias git1="git -c user.name=foo"
git1 push origin master
alias git2="git -c [email protected]"
git2 push origin master
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question