一、将本机的公钥设置在github上
1、生成git登陆ssh key
$ cd ~/.ssh
$ ssh-keygen -t rsa -C “email@email.com”
$ ls
$ cat id_rsa.pub


enter 之后将结果复制到github中 setting – SSH and GPG keys 中。
二、将git上的项目下载到本地。
在github上复制 https的url


webstorm – check out form … – git 复制进去 clone


三、新建文件上传至git
右键 – git – +Add -右键 -Commit file – commit – 右键 – Git – Repository – push – push
四、对比前后两次上传文件之差异


本文详细介绍了如何使用GitHub进行项目管理:包括生成SSH密钥并配置GitHub账号、克隆远程仓库到本地、提交更改并推送至远程仓库及查看文件差异等基本操作。
9576

被折叠的 条评论
为什么被折叠?



