首页 > 技术文章 > 优达学城纳米学位P5项目知识点总结——github使用

kong-xy 2017-04-06 19:36 原文

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  

推荐阅读