Git.之.最小化配置

Git.之.最小化配置

    

    做一个全局的用户配置,便于以后提交代码等,记录当前操作的用户。

    ## 添加配置

    # git config [--local | --global | --system] user.name 'Your name'

    # git config [--local | --global | --system] user.email 'Your email'

  

    ## 查看配置

    # git config --list [--local | --global | --system]

    

    ## 区别

    local:区域为本仓库

    global: 当前用户的所有仓库

    system: 本系统的所有用户

    

    

原文地址:https://www.cnblogs.com/Charles-Yuan/p/11184591.html