Commit 75e90cb45660bd9861a047d0cd4f630ca2e71dd3
1 parent
2a8aa742
Exists in
spb-stable
and in
2 other branches
Push to all remotes doc.
Showing
2 changed files
with
35 additions
and
2 deletions
Show diff stats
doc/release/README.md
| 1 | -+ [Monthly](monthly.md) | |
| 2 | -+ [Security](security.md) | |
| 1 | +GitLab has the following updates: | |
| 2 | + | |
| 3 | ++ [Monthly release](monthly.md), every month on the 22nd. | |
| 4 | ++ [Patch release](patch.md), if there are serious regressions. | |
| 5 | ++ [Security](security.md), for security problems. | |
| 6 | ++ [Master](master.md), update process for the master branch. | ... | ... |
| ... | ... | @@ -0,0 +1,29 @@ |
| 1 | +# How to push GitLab CE master branch to all remotes. | |
| 2 | + | |
| 3 | +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. | |
| 4 | + | |
| 5 | +## Add this to `.bashrc` | |
| 6 | + | |
| 7 | +```bash | |
| 8 | +gpa () | |
| 9 | +{ | |
| 10 | + git push origin $1 && git push gh $1 && git push public $1 | |
| 11 | +} | |
| 12 | +``` | |
| 13 | + | |
| 14 | +## Then add remotes to your local repo | |
| 15 | + | |
| 16 | +```bash | |
| 17 | +cd myrepo | |
| 18 | + | |
| 19 | +git remote add origin git@dev.gitlab.org:gitlab/gitlabhq.git | |
| 20 | +git remote add gh git@github.com:gitlabhq/gitlabhq.git | |
| 21 | +git remote add public git@gitlab.com:gitlab-org/gitlab-ce.git | |
| 22 | +``` | |
| 23 | + | |
| 24 | +## Pushto all remotes | |
| 25 | + | |
| 26 | +```bash | |
| 27 | +gpa master | |
| 28 | +``` | |
| 29 | + | ... | ... |