git常用命令

来源:互联网 发布:直播行业现状知乎 编辑:程序博客网 时间:2024/06/05 07:59

志之以备忘:

1. git init

2. git add

3. git commit

4. git branch

5. git diff

6. git checkout

7. git clone

8. git pull

9. git push


相关链接:http://blog.csdn.net/wengpingbo/article/details/8985132

需要弄懂的几个概念:HEAD, tag, index, commit, tree, snapshot

答案如下:

HEAD: 


需要查看的几个命令options:

diff.external

gitattributes

0 0