Windows下使用git上传文件到github 系列一
2017-08-03 本文已影响35人
测试_机器猫
1、下载Windows版的git进行安装,https://git-scm.com/downloads

2、下载TortoiseGit进行安装,https://tortoisegit.org/download/

3、登录你的github账号,进入settings选项里面,进行增加ssh key,如图所示:

4、通过TortoiseGit生成ssh key



5、将上一步生成的key复制到文本文件里面,再从文本文件里面复制到github
(如果直接复制到github可能会出错,里面含有空格)


6、接着在github上面创建一个仓库

7、使用TortoiseGit,在电脑E盘右键点击选择“Clone”,url是你刚才github创建生成的
这时会自动生成一个含有git的文件夹名称为:Security001


8、接下来你就可以把要上传的文件拷贝到Security001里面,右键点击选择“”



9、查看github上传是否成功
