windows下面使用git

下载软件 https://pan.baidu.com/s/1qXIbm92

安装的时候默认选项就好。

初始化,

这里写图片描述

在 git bash里面可以输入just like在linux里面一样。

git config --global user.name "laowang"
git config --global user.email "[email protected]"

如果还没有key,就生成

ssh-keygen -t rsa -C "[email protected]"

把id_rsa.pub放到自己的gitlab里面,就好了。

你可能感兴趣的:(git)