From 75e90cb45660bd9861a047d0cd4f630ca2e71dd3 Mon Sep 17 00:00:00 2001 From: dosire Date: Mon, 26 May 2014 15:38:18 +0200 Subject: [PATCH] Push to all remotes doc. --- doc/release/README.md | 8 ++++++-- doc/release/master.md | 29 +++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 doc/release/master.md diff --git a/doc/release/README.md b/doc/release/README.md index 22510be3f18..d53720acbd4 100644 --- a/doc/release/README.md +++ b/doc/release/README.md @@ -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. diff --git a/doc/release/master.md b/doc/release/master.md new file mode 100644 index 00000000000..aa7c854d074 --- /dev/null +++ b/doc/release/master.md @@ -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 +``` +