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
932668ae
Commit
932668ae
authored
Sep 16, 2020
by
Daniel Gruesso
Committed by
Marcin Sedlak-Jakubowski
Sep 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs: Add branch reference tip to MR docs
parent
27b1996d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
doc/user/project/merge_requests/reviewing_and_managing_merge_requests.md
...t/merge_requests/reviewing_and_managing_merge_requests.md
+11
-0
No files found.
doc/user/project/merge_requests/reviewing_and_managing_merge_requests.md
View file @
932668ae
...
...
@@ -289,6 +289,17 @@ the command line.
NOTE:
**Note:**
This section might move in its own document in the future.
### Copy the branch name for local checkout
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/23767) in GitLab 13.4.
The merge request sidebar contains the branch reference for the source branch
used to contribute changes for this merge request.
To copy the branch reference into your clipboard, click the
**Copy branch name**
button
(
**{copy-to-clipboard}**
) in the right sidebar. You can then use it to checkout the branch locally
via command line by running
`git checkout <branch-name>`
.
### Checkout merge requests locally through the `head` ref
A merge request contains all the history from a repository, plus the additional
...
...
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