forked from tldr-pages/tldr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gh*, glab*: standardize documentation (tldr-pages#7957)
- Loading branch information
1 parent
e897720
commit 6ed9681
Showing
10 changed files
with
43 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,33 @@ | ||
# glab | ||
|
||
> GitLab CLI tool to help working with GitLab from the command-line. | ||
> Work seamlessly with GitLab from the command-line. | ||
> Some subcommands such as `glab config` have their own usage documentation. | ||
> More information: <https://github.com/profclems/glab>. | ||
- Create a merge request: | ||
|
||
`glab mr create` | ||
- Clone a GitLab repository locally: | ||
|
||
- List merge requests: | ||
|
||
`glab mr list` | ||
`glab repo clone {{owner}}/{{repository}}` | ||
|
||
- Create a new issue: | ||
|
||
`glab issue create` | ||
|
||
- View and filter the current repository's open issues: | ||
- View and filter the open issues of the current repository: | ||
|
||
`glab issue list` | ||
|
||
- List pipelines: | ||
- 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 pipeline list` | ||
`glab mr view --web {{pr_number}}` | ||
|
||
- Clone a repository into a specific directory: | ||
- Check out a specific pull request locally: | ||
|
||
`glab repo clone {{user}}/{{repository}} {{directory}}` | ||
`glab mr checkout {{pr_number}}` |