mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 11:56:50 +00:00
Update cheatsheets
This commit is contained in:
38
glab
Normal file
38
glab
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# glab
|
||||
|
||||
> Work seamlessly with GitLab.
|
||||
> Some subcommands such as `glab config` have their own usage documentation.
|
||||
> More information: <https://github.com/profclems/glab>.
|
||||
|
||||
- Clone a GitLab repository locally:
|
||||
|
||||
`glab repo clone {{owner}}/{{repository}}`
|
||||
|
||||
- Create a new issue:
|
||||
|
||||
`glab issue create`
|
||||
|
||||
- View and filter the open issues of the current repository:
|
||||
|
||||
`glab issue list`
|
||||
|
||||
- View an issue in the default browser:
|
||||
|
||||
`glab issue view --web {{issue_number}}`
|
||||
|
||||
- Create a merge request:
|
||||
|
||||
`glab mr create`
|
||||
|
||||
- View a pull request in the default web browser:
|
||||
|
||||
`glab mr view --web {{pr_number}}`
|
||||
|
||||
- Check out a specific pull request locally:
|
||||
|
||||
`glab mr checkout {{pr_number}}`
|
||||
Reference in New Issue
Block a user