优达学城纳米学位P5项目知识点总结——github使用

clone : git clone + url

fork 

branch

pull

push

checkout:  将所有文件恢复到某一次提交的状态

 

diff  参数:logid1 logid2

 

log  --stat 可查看被修改的文件

多文件提交: break up into pieces/ think in work in term of a bunch of steps

 

 strange warnings:  You are in 'detached Head' state  

posted @ 2017-04-06 19:36  AugusKong  阅读(603)  评论(0编辑  收藏  举报