美文网首页
mac下安装git

mac下安装git

作者: 朝闻道夕睡觉 | 来源:发表于2021-05-29 22:09 被阅读0次

1:官方网址链接:https://git-scm.com/download/mac
我选的是安装包下载,也就是 Binary installer,然后打开安装输入 git version 检查版本号

2:可能出现的报错信息
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.

解决方案: 只要安装xcode-select插件就可以,命令如下:

xcode-select --install

安装完成没问题了,再执行下面的代码

sudo xcode-select --switch /Library/Developer/CommandLineTools

相关文章

  • git常用指令集

    安装 mac下安装方式有: 安装Xcode Command Line Tools; 在git官网下载git客户端;...

  • Git-基础入门

    安装 mac安装:https://git-scm.com/download/mac[https://git-scm...

  • git 总结

    1. 安装 git 不同系统下 git 的安装 Mac上可以在终端上输入: git --version 来查看gi...

  • hexo+github搭建个人博客

    首先需要安装git和node.js Mac下安装git和node.js 首先在终端查看是否安装了git,如果出现以...

  • mac安装git后,在终端里运行git命令,系统提示需要安装Xc

    直接下载git for mac 安装包,https://git-scm.com/download/mac安装完后,...

  • mac下安装git

    前提:mac上已经安装homebrew 1、使用如下命令: brew install git brew会自动去下载...

  • Mac 下git安装

    1.引言 之前版本管理工具一直用的是svn,看到用git的人越来越多也顺便尝试记录一下 2.流程 2.1 首先需...

  • mac下安装git

    1:官方网址链接:https://git-scm.com/download/mac[https://git-scm...

  • git操作手册

    一、Mac git 1、brew install git #Mac中安装git 2、git init #新建文件夹...

  • GitHub 创建步骤及问题

    安装github 下载官网git window 64git window 32git mac 64git mac ...

网友评论

      本文标题:mac下安装git

      本文链接:https://www.haomeiwen.com/subject/zsmusltx.html