GIT 详解2

https://segmentfault.com/a/1190000000738398

http://www.cnblogs.com/cposture/p/4903767.html

https://git-scm.com/book/zh/v1

http://www.yiibai.com/git/git_patch_operation.html

https://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/0013752340242354807e192f02a44359908df8a5643103a000

 

http://fsjoy.blog.51cto.com/318484/245465/

http://www.cnblogs.com/craftor/archive/2012/11/04/2754193.html

http://www.cnblogs.com/wish123/p/3963224.html

 http://blog.csdn.net/ithomer/article/details/7529022

// 推送本地NEW分枝到GITHUB远程,如果在GITHUB中没有NEW分枝,就新建分枝NEW,并把NEW上传过去

[root@workstation2017 linuxprobe]# git push origin  new
Total 0 (delta 0), reused 0 (delta 0)

 

//会把本地默认MASTER 推送到远程MASTER

[root@workstation2017 linuxprobe]# git push

 

//把某个版本作为新的分枝

git checkout [-m] [[-b]--orphan] <new_branch>] [<start_point>]

git checkout -b  xxx     v1.5

git checkout -b  xxx     commitid

 

posted @ 2017-08-02 18:20  zengkefu  阅读(178)  评论(0编辑  收藏  举报