【Gerrit】添加git工程到gerrit服务器
2016-11-11 17:25
435 查看
The other alternative is if you already have a git project that you want to try out Gerrit on. First you have to create the project. This is done via the SSH port:
首先创建这个项目
You need to make sure that at least initially your account is granted "Create Reference" privileges for the refs/heads/* reference. This is done via the web interface in the Admin/Projects/Access page that correspond
to your project.
After that it’s time to upload the previous history to the server:
把数据传到新建立的git仓库中去
This will create a repository that you can clone to work with.
首先创建这个项目
user@host:~$ ssh -p 29418 user@localhost gerrit create-project --name demo-project user@host:~$
You need to make sure that at least initially your account is granted "Create Reference" privileges for the refs/heads/* reference. This is done via the web interface in the Admin/Projects/Access page that correspond
to your project.
After that it’s time to upload the previous history to the server:
把数据传到新建立的git仓库中去
user@host:~/my-project$ git push ssh://user@localhost:29418/demo-project *:* Counting objects: 2011, done. Writing objects: 100% (2011/2011), 456293 bytes, done. Total 2011 (delta 0), reused 0 (delta 0) To ssh://user@localhost:29418/demo-project * [new branch] master -> master user@host:~/my-project$
This will create a repository that you can clone to work with.
相关文章推荐
- Gerrit 添加一个已经有的git工程到gerrit服务器
- Gerrit 添加一个已经有的git工程到gerrit服务器
- git服务器:[3]xcode6 git仓库检出并添加工程
- git服务器:[3]xcode6 git仓库检出并添加工程
- git学习--gerrit服务器搭建总结
- git 添加本地工程到github
- linux : gerrit搭建配置服务器+git简单操作+apache代理配置+部分遇到的错误及处理
- 给已存在的XCode工程添加git
- 在git服务器上新建一个工程,怎么把本地的工程对应到远程的git服务器上面的工程
- Git 提交本地工程到服务器
- 给已经创建的工程添加git支持
- git学习--批量上传本地代码库到gerrit服务器---保留本地代码库所有分支和tag信息
- Xcode工程添加至 git 版本控制
- Eclipse3.4中复制WEB工程之后,修改工程名字,Servers->tomcat服务器“添加和删除工程”显示的是之前工程
- 向 Git 服务器添加 SSH 公钥
- git工程迁移(修改提交服务器地址)方法
- ios SourceTree中添加git项目工程文件
- 如何将已有的工程添加到Xcode的Git管理中
- 现有工程代码首次推送至托管服务器(git服务器)
- 代码管理:通过git向gerrit服务器推送代码 reviewGit Bash