简体   繁体   English

如何在git中创建新的用户帐户(不是github)?

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

I am trying to create new user in git. 我正在尝试在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. 我不是在谈论本地存储库配置。

In git, you don't really have users. 在git中,您实际上没有用户。

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. 设置user.nameuser.email配置条目时,您不是在创建用户,而是在准备要提交的环境,因为每次提交都必须有一个作者。

Accounts really happen only at a higher level, like Github that you ruled out explicitly for some reason. 帐户确实只会在更高级别上发生,例如Github,您出于某种原因而明确排除了该帐户。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM