随笔分类 -  版本管理

摘要:【参考 http://www.jiangmiao.org/blog/1600.html 】1. 软件安装sudo apt-get install python-setuptools git gitosis openssh-server有的发布版没有 gitosis, 可以 git clone https://github.com/tv42/gitosis.git2. 添加 GIT 管理用户sudo adduser \ --system \ --shell /bin/sh \ --gecos 'git version control' \ --group \ --d... 阅读全文
posted @ 2012-05-08 10:06 luckybug 阅读(344) 评论(0) 推荐(0)
摘要:有一种插件叫 git-cvs, Debian 一系的发布版中 apt-cache search 都可以找到,但是本人实在不想记忆太多命令,所以找了个方法让工作目录同时支持 git 与 CVS。说白了就是设置 .gitignore 和 .cvsignore 无它。首先将两个工作目录合并,这步最关键,要确定合并后的代码的准确性。然后 CVS/ 与 .git/ 目录都要保留好。然后设置 ignore 文件就好了,土人我的 ignore 文件如下.cvsignore.git/*.*gen/*bin/**.apk*.tar.gz.gitignoreCVS/.cvsignoregen/*bin/**.ap 阅读全文
posted @ 2012-04-27 12:01 luckybug 阅读(273) 评论(0) 推荐(0)