Gerrit 添加一个已经有的git工程到gerrit服务器
2014-07-30 14:33
274 查看
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.
转载:/article/7825069.html
首先创建这个项目
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.
转载:/article/7825069.html
相关文章推荐
- Gerrit 添加一个已经有的git工程到gerrit服务器
- 【Gerrit】添加git工程到gerrit服务器
- git服务器:[3]xcode6 git仓库检出并添加工程
- linux 下 将一个已有目录添加到git服务器
- 给已经创建的工程添加git支持
- 在git服务器上新建一个工程,怎么把本地的工程对应到远程的git服务器上面的工程
- IDEA中一个工程多个模块(module)分别提交到不同的git服务器
- EClipse的工程中添加一个已经存在的java文件
- git服务器:[3]xcode6 git仓库检出并添加工程
- 实验: git 如果.gitignore中添加一个已经跟踪的文件结果是?
- ---GITHow 如何undo一个已经被push到上游服务器的commit
- 当在一个siliverlight 2.0工程中 添加webservice时 遇到错误:'Object reference not set to an instance of an object' 解决办法
- 获取工程下的路径和判断一个文件是否已经被打开
- VC6中将一个工程中的对话框添加到另外一个工程
- hdu 3627 Giant For 离散化+线段树 在一个二维平面内任意的添加一个点和删除一个点,然后来寻找一个横纵坐标都比已经添加的点大的点,首先选择横坐标最小的,其次是纵坐标最小的
- 如何将一个工程中的对话框资源添加到另一工程中
- VS2008 Express:在一个解决方案中添加多个工程
- 如何在VC中为工程添加一个编译选项
- 如何在VC中为工程添加一个编译选项
- 如何给已经有数据的表添加一个新的ID