摘要:
[root@localhost workspace]# cd repos/[root@localhost repos]# ll总用量 4drwxr-xr-x 7 root root 4096 12月 30 20:34 hello-world.git[root@localhost repos]# git clone --bare hello-world.git hello-user1.git克隆到裸版本库 'hello-user1.git'...完成。[root@localhost repos]# git clone --bare hello-world.git hello-us 阅读全文
posted @ 2014-01-02 17:41
jackluo
阅读(1813)
评论(0)
推荐(0)
摘要:
创建发布分支:(1) 软件hello-world的1.0发布版本库中有一个里程相对应./home/jackluo/workspace/user1/workspace/hello-worldgit tag -n1 -l v*(2)基于里程v1.0创建发布布hello-1.x. 注:使用了git checkout 命令创建分支,最后一个参数v1.0是新分支 hello-1.x创建的基准点,如果没有里程,使用提交ID也是一样[root@localhost hello-world]# git tag -n1 -l v*v1.0 Release 1.0[root@localhost... 阅读全文
posted @ 2014-01-02 13:05
jackluo
阅读(1876)
评论(0)
推荐(0)