1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 16:13:31 +02:00

git-mr: add page (#7585)

This commit is contained in:
CleanMachine1 2022-01-02 20:13:01 +00:00 committed by GitHub
parent 128603e43a
commit 80e8b7b5f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

21
pages/common/git-mr.md Executable file
View file

@ -0,0 +1,21 @@
# 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`