My IntelliJ IDEA was used by another user and when I try to push to Git, I was asked a password of this user.
How can I change user in my IDEA? I tried to change global Git user, but it is not working.
Go to the base directory of your project.
You will find a hidden directory called ".git". Enter into it.
There you will see a file called "config". Add the below code.
[user] name = username email = [email protected]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With