Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
fe10f371
Commit
fe10f371
authored
May 26, 2014
by
dosire
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add default arguments, name gitlab repo gl, suggest dotfile repo.
parent
c7a55309
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
doc/release/master.md
doc/release/master.md
+6
-6
No files found.
doc/release/master.md
View file @
fe10f371
...
...
@@ -4,28 +4,28 @@ Distribution to other repo's is done by the lead developer if there is no rush.
This happens a few times per workday on average.
If a GitLab B.V. person wants to do it here are the instructions.
## Add this to `.bashrc`
## Add this to `.bashrc`
or [your dotfiles](https://github.com/dosire/dotfiles/commit/52803ce3ac60d57632164b7713ff0041e86fa26c)
```
bash
gpa
()
{
git push origin
$
1
&&
git push gh
$1
&&
git push public
$1
git push origin
$
{
1
:-
master
}
&&
git push gh
${
1
:-
master
}
&&
git push gl
${
1
:-
master
}
}
```
## Then add remotes to your local repo
```
bash
cd
myrepo
cd
my
-gitlab-ce-
repo
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
git remote add
gl
git@gitlab.com:gitlab-org/gitlab-ce.git
```
## Push to all remotes
```
bash
gpa
master
gpa
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment