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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
8bb17358
Commit
8bb17358
authored
Oct 21, 2017
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update docs on creating MRs
parent
815a32e2
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
13 deletions
+10
-13
doc/gitlab-basics/add-merge-request.md
doc/gitlab-basics/add-merge-request.md
+10
-13
doc/gitlab-basics/img/merge_request_new.png
doc/gitlab-basics/img/merge_request_new.png
+0
-0
doc/gitlab-basics/img/merge_request_select_branch.png
doc/gitlab-basics/img/merge_request_select_branch.png
+0
-0
doc/gitlab-basics/img/project_navbar.png
doc/gitlab-basics/img/project_navbar.png
+0
-0
No files found.
doc/gitlab-basics/add-merge-request.md
View file @
8bb17358
...
@@ -3,31 +3,28 @@
...
@@ -3,31 +3,28 @@
Merge requests are useful to integrate separate changes that you've made to a
Merge requests are useful to integrate separate changes that you've made to a
project, on different branches. This is a brief guide on how to create a merge
project, on different branches. This is a brief guide on how to create a merge
request. For more information, check the
request. For more information, check the
[
merge requests documentation
](
../user/project/merge_requests.md
)
.
[
merge requests documentation
](
../user/project/merge_requests
/index
.md
)
.
---
---
1.
Before you start, you should have already
[
created a branch
](
create-branch.md
)
1.
Before you start, you should have already
[
created a branch
](
create-branch.md
)
and
[
pushed your changes
](
basic-git-commands.md
)
to GitLab.
and
[
pushed your changes
](
basic-git-commands.md
)
to GitLab.
1.
Go to the project where you'd like to merge your changes and click on the
1.
You can then go to the project where you'd like to merge your changes and
**Merge requests**
tab.
click on the
**Merge requests**
tab.
![Merge requests](img/project_navbar.png)
1.
Click on
**New merge request**
on the right side of the screen.
1.
Click on
**New merge request**
on the right side of the screen.
1.
From there on, you have the option to select the source branch and the target
![New Merge Request](img/merge_request_new.png)
branch you'd like to compare to. The default target project is the upstream
repository, but you can choose to compare across any of its forks.
1.
Select a source branch and click on the
**Compare branches and continue**
button.
![Select a branch](img/merge_request_select_branch.png)
![Select a branch](img/merge_request_select_branch.png)
1.
When ready, click on the
**Compare branches and continue**
button.
1.
At a minimum, add a title and a description to your merge request. Optionally,
1.
At a minimum, add a title and a description to your merge request. Optionally,
select a user to review your merge request and to accept or close it. You may
select a user to review your merge request and to accept or close it. You may
also select a milestone and labels.
also select a milestone and labels.
![New merge request page](img/merge_request_page.png)
![New merge request page](img/merge_request_page.png)
1.
When ready, click on the
**Submit merge request**
button. Your merge request
1.
When ready, click on the
**Submit merge request**
button.
will be ready to be approved and published.
Your merge request will be ready to be approved and merged.
doc/gitlab-basics/img/merge_request_new.png
deleted
100644 → 0
View file @
815a32e2
2.18 KB
doc/gitlab-basics/img/merge_request_select_branch.png
View replaced file @
815a32e2
View file @
8bb17358
19.9 KB
|
W:
|
H:
16.3 KB
|
W:
|
H:
2-up
Swipe
Onion skin
doc/gitlab-basics/img/project_navbar.png
deleted
100644 → 0
View file @
815a32e2
3.18 KB
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