mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-18 08:49:50 +00:00
Update cheatsheets
This commit is contained in:
26
git-mr
Normal file
26
git-mr
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user