1215: git的使用

JunmingKe

之前操纵Github都是使用浏览器页面的:

现在想通过git进行配置:

首先确认自己的git

git

image

git自己的库

git clone https://github.com/JunmingKe/WeeklyReport

image

更改自己的库,并通过以下方式上传

vim readme.md 
# 这里修改readme
git add .
git commit -a
# 这里会要求写入修改了什么
git push origin master

其中的原理大致是先确定上传什么,再上传到自己本地的库,然后上传到Github的库上。

image

对比一下

多了一句Blog for Junming

image
image