1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 21:02:08 +02:00
tldr/pages/common/git-mr.md
2022-01-03 04:13:01 +08:00

21 lines
431 B
Markdown
Executable file

# git mr
> Check out GitLab merge requests locally.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-mr>.
- Check out a specific merge request:
`git mr {{mr_number}}`
- Check out a merge request from a specific remote:
`git mr {{mr_number}} {{remote}}`
- Checkout a merge request from its URL:
`git mr {{url}}`
- Clean up old merge request branches:
`git mr clean`