共 14 篇文章
显示摘要每页显示  条
安装git,安装apache2,安装mysql,下载gerrit包。5.简便ssh 在~/.ssh/目录下新建文件config 加入内容如下 Java代码 Host gerrit_short User gerrit_fisrt_username Port 29418 Hostname 127.0.0.1 IdentityFile ~/.ssh/id_rsa 以后执行 Java代码 ssh -p 29418 gerrit_fisrt_username@127.0.0...
Gerrit+apache+H2数据库简单安装配置及建库流程Ubantu Gerrit 安装安装相关软件(ubantu)cat /etc/apache2/apache2.conf :[gerrit] basePath = git //指定被gerrit管理的所有git库存放位置,即review_site_project/git/ canonicalWebUrl = http://192.168.11.73/project/ //指定web访问gerrit的网址//填自己的ip和端口号,勿完全抄[database]...
Android:Git、Repo、Gerrit服务器架构Android代码库什么是git.cd /pub/gittreesmkdir mirrorcd mirrorrepo init -u git://android.git.kernel.org/platform/manifest.git -mirrorrepo sync创建本地代码服务器。cd /pub/gittreesmkdir repositorycd repositoryrepo init -u git://127.0.0.1/mirror/platform/manifest.git -mirror修改.repo/mani...
# mkdir /pub/git/moon.git # cd /pub/git/moon.git # git init --bare # chown git:git /pub/git/moon.git -R 在本机上操作 # cd moon # git init-db # git add * # git commit -m -a "first" # git remote add master git@192.168.160.83:/pub/git/moon.git # git push master --all 之后...
我们知道Android开源工程的代码,使用了一个叫repo的工具,有效的管理着Android底下的几百个git工程。mkdir bin curl http://android.git.kernel.org/repo >~/bin/repo chmod a+x ~/bin/repo.repo init -u git://192.168.5.141/manifest.git.2、它从网上下载一个repo.git的工程,这个工程才是整整的Repo的全部,也就是我们前面说过的"g...
prompt> git push在远程版本库中删除分支prompt> git push <remote repository> :<remote branch>在本地版本库中删除所有远程版本库中已不存在的分支prompt> git remote prune <remote repository>在本地版本库中删除某个远程版本库的简称,以及该远程版本库相关的分支prompt> git remote rm <remote reposit...
建本地 repo server建本地 repo server.$ mkdir /home/git/android/ $ chown nobody.nobody /home/git/android/ $ cd /home/git/android/ $ repo init -u git://android.git.kernel.org/platform/manifest.git --mirror $ repo sync.$git commit -a $git remote add our-repository /home/git/your-repository/platform/manifest.gi...
git config配置文件。Git有一个工具被称为git config,它允许你获得和设置配置变量;3.位于git目录的config文件 (也就是 .git/config) :无论你当前在用的库是什么,特定指向该单一的库。$ git config --global merge.tool vimdiff.如果你想检查你的设置,你可以使用 git config --list 命令来列出Git可以在该处找到的所有的设置:你也可以查看G...
Git、Gerrit与Jenkins/Hudson CI服务器配置Git.git init --bare /path/to/gits/example.gitGerrit.我们还需要安装Git插件和Git/Gerrit触发器。Name Example-Gerrit Type Free-style SCM Git URL git://localhost/example.git Advanced (below URL of repository) Refspec $GERRIT_REFSPEC Advanced (above repository browser) Choosing strate...
[gerrit2@bogon gerrit_site_http]$[gerrit2@bogon gerrit_site_http]$ /home/gerrit2/gerrit_site_http/bin/gerrit.sh stop.如果在htpasswd命令创建的账号之前,gerrit数据库中已经存在同名的gerrit用户(如:通过直接操作数据库添加的),那么web登录时,不会将htpasswd命令创建的账号和gerrit数据库中同名用户关联起来,而是自动新创建一个g...
帮助 | 留言交流 | 联系我们 | 服务条款 | 下载网文摘手 | 下载手机客户端
北京六智信息技术股份有限公司 Copyright© 2005-2024 360doc.com , All Rights Reserved
京ICP证090625号 京ICP备05038915号 京网文[2016]6433-853号 京公网安备11010502030377号
返回
顶部