mac下idea操作git

1.

mac idea配置git

https://www.jianshu.com/p/5cddc8d03754

2.

clone某项目test分支下的代码

git clone -b test git@code.***.com:****/****.git

 

3.

生成SSH key

$ ssh-keygen -t rsa -C "***.com"
进入/user/zl/.ssh 下面有id_rsa.pub,里面就是公钥

 

 

 

猜你喜欢

转载自www.cnblogs.com/python924/p/12663774.html