1.首先安装git,git的安装是傻瓜式安装(安装包下载:);

2.安装完毕后,鼠标右键点击git bash,进入命令行窗口后,键入如下命令:

     1)git安装后的配置项

即,git config --global user.name "名称随便取,最好不是中文"

        git config --global user.email "你的个人邮箱"

       输入完这些命令后,在c:users/adminstrator/文件下面会自动生成.config文件

之后在myeclipse引入egit插件的时候这个文件将会被引用

2)继续输入如下命令:

      git安装后的配置项

即输入:

ssh-****** -t rsa -C 你刚刚填写的邮箱地址
输入这个命令后在c:/users/adminstrator/文件夹下会自动生成一个名为.ssh的文件夹,这里面的id_rsa.pub文件之后会在连接github的时候用到,非常重要



相关文章:

  • 2021-04-14
  • 2021-08-25
  • 2021-12-31
猜你喜欢
  • 2021-12-19
  • 2021-06-22
  • 2021-12-14
  • 2021-07-21
  • 2022-12-23
  • 2021-08-11
  • 2021-10-05
相关资源
相似解决方案