git安裝配置

安裝軟件

配置

  • 配置我的名稱和電子郵件ssh

    git config --global user.name 'sophie'
    git config --global user.email sophie@163.com
    複製代碼
  • 生成sshkey編輯器

    ssh-keygen -t rsa -C your_email
    複製代碼
  • 配置文本編輯器工具

    git config --global core.editor emacs
    複製代碼
  • 配置差別比較工具spa

    git config --global merge.tool vimdiff
    複製代碼
相關文章
相關標籤/搜索