Push to all remotes doc.
This commit is contained in:
parent
2a8aa7429b
commit
75e90cb456
2 changed files with 35 additions and 2 deletions
|
@ -1,2 +1,6 @@
|
||||||
+ [Monthly](monthly.md)
|
GitLab has the following updates:
|
||||||
+ [Security](security.md)
|
|
||||||
|
+ [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
29
doc/release/master.md
Normal 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
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue