V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
git
Pro Git
Atlassian Git Tutorial
Pro Git 简体中文翻译
GitX
CHEN1016
V2EX  ›  git

在设置 git 多用户时 config 中的 User 配置的用户有什么作用?

  •  
  •   CHEN1016 · Jan 21, 2020 · 2940 views
    This topic created in 2288 days ago, the information mentioned may be changed or developed.

    这个用户是不是 user.name 这个没有关系?

    4 replies    2020-01-21 16:18:03 +08:00
    ncwtf
        1
    ncwtf  
       Jan 21, 2020
    提交时的署名,不同的人可以向同一个分支提交,不同的电脑可以用同一个账号。
    Composurext
        2
    Composurext  
       Jan 21, 2020
    同楼上
    CHEN1016
        3
    CHEN1016  
    OP
       Jan 21, 2020
    @ncwtf @Composurext user.name 是提交后显示的提交的名字,我想知道./ssh/config 中配置的 User 是用来干嘛的
    712e1959
        4
    712e1959  
       Jan 21, 2020
    @CHEN1016 # 用来指定 ssh 默认登录用户的。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   999 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 22:24 · PVG 06:24 · LAX 15:24 · JFK 18:24
    ♥ Do have faith in what you're doing.