Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a new user account in git (not github)?

I am trying to create new user in git. Where should I create? How can I create? I don't see any document about this anywhere! I am not talking about local repository configuration.

like image 348
Shibin Francis Avatar asked Sep 19 '25 22:09

Shibin Francis


1 Answers

In git, you don't really have users.

Commits have authors, and committers, but this happens at commit level, the repo is not listing authorized people to interact with it.

When you're setting your user.name and user.email config entries, you're not creating a user, you're just preparing your environment to be able to commit, since each commit has to have an author.

Accounts really happen only at a higher level, like Github that you ruled out explicitly for some reason.

like image 143
Romain Valeri Avatar answered Sep 22 '25 12:09

Romain Valeri