macOS-Git安装部署

1. 安装Git

  • 官网下载地址

  • 傻瓜式安装

    macOS-Git安装部署_第1张图片

  • 查看版本git --version

  • 系统提示需要安装xcode问题

2. git相关配置

  • 通过以下指令配置用户名和邮箱

    git config --global user.name "your_name"  
    git config --global user.email "[email protected]"
    git config core.ignorecase false // 本地仓库文件是否大小写敏感
    
  • 查看是否配置成功git config --list

  • 生成密钥

你可能感兴趣的:(macOS,macos,git)