GitHub使用流程
在https://github.com/QianqianLis/NoteTest
上新建仓库

点击New repository按钮后,到下图所示页面:

按照以上步骤,填写仓库名(必填),描述(可选),点击Create repository按钮后,如下图所示:

仓库就建成了。
在电脑上需要安装Git,以及Github
git下载地址:https://git-scm.com/downloads
github下载地址:https://desktop.github.com/
git安装完成后,右击如下图:

github:

注:电脑上的文档能上传到github,需要ssh key
具体在Settings -> SSH Keys
具体步骤可以跟着官方的文档做:

地址也附上:https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/
以上都完成以后,打开

就会出现刚才在github上建立的仓库

选择仓库并clone到你要放的地方

clone完成

对应文件地址下就会生成这个仓库文件夹

初始文件夹

这样clone的仓库,,比敲代码快2333,,而且.git/config文件中东西都生成好了~~~666

该目录下,右键,选择Git Bash Here
出来这个对话框:

输入github用户名邮箱:
git config --global user.name "github用户名"
git config --global user.email "github邮箱"

注:双引号漏了。。无视它

确认文件,存在,并且当前和github一样没有文档呢。。。。
然后去吧你要放到这个仓库的工程文件放进来

把我要放得文档copy到仓库文件夹下了
输入git status
几出现了你copy过去的文件有没有。。。

其实它这边提示你了,,use "git add ..."....
跟着做
输入 git add .
点点不要漏啊~~~看清楚哦

无视警告

这样仓库下就有这些文档啦
再获取他的状态
git status

好了,,生成了这些文件了,,然后告诉你要commit,,

生成了好了,,知道再干什么了么,,对还是git status

因为他就是会告诉你接下来干什么,,
照做

接着git status就好了,你看你看

注:如果还有,像之前一样,照着提示做就好了。。。。
一切都好了,,去gitHub看看。。
刷新
刷新
再刷新
作者,你个傻逼逗我呢!!
对呀,你咬我啊!!!
其实还差最后一步啦,,
再回到命令窗
输入: git push origin master

出来框叫你输用户名密码就对了!!!出来不对别找我,反正你也打不到我!!!!


开始上传啦~~、、、

完了就好了,,再去github看看,,这回我没耍你。。。
都有了吧,,没耍你吧。。

然后我们再看看github,,桌面版的那个
记录了我们的更改历史,,但凡改了,都会记录的!!!

写完了,,求别打死!!!