summaryrefslogtreecommitdiff
path: root/doc/release/master.md
diff options
context:
space:
mode:
authordosire <sytses@gmail.com>2014-05-26 15:38:18 +0200
committerdosire <sytses@gmail.com>2014-05-26 15:38:18 +0200
commit75e90cb45660bd9861a047d0cd4f630ca2e71dd3 (patch)
tree934c169911d1ab108a6845aa91f52358da226221 /doc/release/master.md
parent2a8aa7429b6f489acd07c99e2e33a09c21c2ba01 (diff)
downloadgitlab-ce-75e90cb45660bd9861a047d0cd4f630ca2e71dd3.tar.gz
Push to all remotes doc.
Diffstat (limited to 'doc/release/master.md')
-rw-r--r--doc/release/master.md29
1 files changed, 29 insertions, 0 deletions
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
+```
+