• 猿辅导内推-官方1号头像

    猿辅导内推-官方1号 1#

    没有翻译GGGGG
    发表于 2015-10-22 08:26:15 回复(7) 赞(2)
  • 阿面头像

    阿面 2#

    配置core.autocrlf那里,对于中文可能有坑哦
    参看: http://blog.jobbole.com/46200/
    发表于 2015-11-12 00:19:24 回复(0) 赞(1)
  • 每天进步二点点头像

    每天进步二点点 3#

    我不行了,英文往脑子里钻,看中文脑子没反应,,
    发表于 2015-12-09 18:59:05 回复(0) 赞(3)
  • 肖依依头像

    肖依依 4#

    大概内容:

    1、配置用户信息(Config User Info)

    $ git config --global user.name

    Xiao YiYun

    $git config --global user.email

    Xiao_yiyun@qq.com

    在git.com发布时会看到你的这些信息

     

    2、配置行尾&颜色(Config Line Endings & Color)

    行尾是特别重要的,因为在不同平台中的仍然有区别:Mac,linux,Windows,CR等,所有这些选择,Git将帮助标准化那些正在被check的文件到存储库,通过设置比如 core.autocrlf

    $ git config --global core.autocrlf true

    $ git config --global core.autocrlf input

    颜色是更多的用户界面调整,颜色是非常容易识别的东西

    $ git config --global color.ui auto

    $ git diff

    红色:正在进行处理

    绿色:运行正常

     

    3、Config有用的设置

    local:具有最高的优先级,大于global

    global:稍弱,将被local覆盖

    System:最弱,通常是最模糊的或者不常用的设置,将被global或者local覆盖

    发表于 2017-07-01 12:28:19 回复(6) 赞(33)
  • John景son头像

    John景son 5#

    1.Git 设置username及email
    $ git config --global user.name jingsen
    $ git config --global user.email jingsen_@outlook.com
    2.尾行及颜色
    git帮助标准化正在被check的文件到存储库,比如设置core.autocrlf
    $ git config --global core.autocrlf true
    $ git config --global core.autocrlf input
    颜色
    $ git config --global color.ui auto
    3.config设置
    优先级 local > global >system
    发表于 2017-12-05 20:49:08 回复(0) 赞(5)
  • H2😌头像

    H2😌 6#

    😁
    发表于 2019-03-03 09:57:51 回复(0) 赞(1)