Skip to content

Configuring username specific to repositories in git

Sometimes, we work on multiple projects and we might want to push our changes to specific repositories using specific users.

We can do this by updating .git/config file.

Here's an example

[user]
    name = suresh26k
    email = user@mail.com
Back to top