手抄报 安全手抄报 手抄报内容 手抄报图片 英语手抄报 清明节手抄报 节约用水手抄报

mac电脑使用git工具管理代码。

时间:2024-10-21 03:30:21

1、在mac上代码管理工具也有不少,像Cornerstone、git等工具都可以管理代码。首先安装 xcode开发工具,在Perference--》Download中下载

2、启动终端:如果用的是代理上网的话,需要在终端设置代理:export http_proxy="http://ip:port"export https_proxy="http://ip:port"

3、设置git的用户名及邮箱信息:git config --global user.name "username"git config --global user.email "[email protected]"

4、下载代码:git clone https://xxx.xxx.xx.com/xx.git或者git clone http://xx.xxxx.xx.xx/xxxxx.git

© 手抄报圈