Push to all remotes doc.

This commit is contained in:
dosire 2014-05-26 15:38:18 +02:00
parent 2a8aa7429b
commit 75e90cb456
2 changed files with 35 additions and 2 deletions

View File

@ -1,2 +1,6 @@
+ [Monthly](monthly.md)
+ [Security](security.md)
GitLab has the following updates:
+ [Monthly release](monthly.md), every month on the 22nd.
+ [Patch release](patch.md), if there are serious regressions.
+ [Security](security.md), for security problems.
+ [Master](master.md), update process for the master branch.

29
doc/release/master.md Normal file
View File

@ -0,0 +1,29 @@
# How to push GitLab CE master branch to all remotes.
Distribution to other repo's is done by Dmitriy if there is no rush. If a GitLab B.V. person wants to do it here are the instructions.
## Add this to `.bashrc`
```bash
gpa ()
{
git push origin $1 && git push gh $1 && git push public $1
}
```
## Then add remotes to your local repo
```bash
cd myrepo
git remote add origin git@dev.gitlab.org:gitlab/gitlabhq.git
git remote add gh git@github.com:gitlabhq/gitlabhq.git
git remote add public git@gitlab.com:gitlab-org/gitlab-ce.git
```
## Pushto all remotes
```bash
gpa master
```