1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 14:53:59 +02:00

glab*: refresh pages (#16441)

This commit is contained in:
Managor 2025-05-11 20:03:01 +03:00 committed by GitHub
parent bac0a168fd
commit 48e6bfe1bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 23 additions and 23 deletions

View file

@ -1,7 +1,7 @@
# glab alias
> Manage GitLab CLI command aliases.
> More information: <https://glab.readthedocs.io/en/latest/alias>.
> More information: <https://gitlab.com/gitlab-org/cli/-/blob/main/docs/source/alias/index.md>.
- Display the subcommand help:
@ -17,7 +17,7 @@
- Set a shell command as a `glab` subcommand:
`glab alias set --shell {{alias_name}} {{command}}`
`glab alias set {{[-s|--shell]}} {{alias_name}} {{command}}`
- Delete a command shortcut:

View file

@ -1,7 +1,7 @@
# glab auth
> Authenticate with a GitLab host.
> More information: <https://glab.readthedocs.io/en/latest/auth>.
> More information: <https://gitlab.com/gitlab-org/cli/-/blob/main/docs/source/auth/index.md>.
- Log in with interactive prompt:
@ -9,7 +9,7 @@
- Log in with a token:
`glab auth login --token {{token}}`
`glab auth login {{[-t|--token]}} {{token}}`
- Check authentication status:
@ -17,4 +17,4 @@
- Log in to a specific GitLab instance:
`glab auth login --hostname {{gitlab.example.com}}`
`glab auth login {{[-h|--hostname]}} {{gitlab.example.com}}`

View file

@ -1,7 +1,7 @@
# glab issue
> Manage GitLab issues.
> More information: <https://glab.readthedocs.io/en/latest/issue>.
> More information: <https://gitlab.com/gitlab-org/cli/-/blob/main/docs/source/issue/index.md>.
- Display a specific issue:
@ -9,7 +9,7 @@
- Display a specific issue in the default web browser:
`glab issue view {{issue_number}} --web`
`glab issue view {{issue_number}} {{[-w|--web]}}`
- Create a new issue in the default web browser:
@ -17,11 +17,11 @@
- List the last 10 issues with the `bug` label:
`glab issue list --per-page {{10}} --label "{{bug}}"`
`glab issue list {{[-P|--per-page]}} {{10}} {{[-l|--label]}} "{{bug}}"`
- List closed issues made by a specific user:
`glab issue list --closed --author {{username}}`
`glab issue list {{[-c|--closed]}} --author {{username}}`
- Reopen a specific issue:

View file

@ -1,7 +1,7 @@
# glab mr create
> Manage GitLab merge requests.
> More information: <https://glab.readthedocs.io/en/latest/mr/create.html>.
> More information: <https://gitlab.com/gitlab-org/cli/-/blob/main/docs/source/mr/create.md>.
- Interactively create a merge request:
@ -9,7 +9,7 @@
- Create a merge request, determining the title and description from the commit messages of the current branch:
`glab mr create --fill`
`glab mr create {{[-f|--fill]}}`
- Create a draft merge request:
@ -17,8 +17,8 @@
- Create a merge request specifying the target branch, title, and description:
`glab mr create --target-branch {{target_branch}} --title "{{title}}" --description "{{description}}"`
`glab mr create {{[-b|--target-branch]}} {{target_branch}} {{[-t|--title]}} "{{title}}" {{[-d|--description]}} "{{description}}"`
- Start opening a merge request in the default web browser:
`glab mr create --web`
`glab mr create {{[-w|--web]}}`

View file

@ -1,7 +1,7 @@
# glab mr merge
> Merge GitLab merge requests.
> More information: <https://glab.readthedocs.io/en/latest/mr/merge.html>.
> More information: <https://gitlab.com/gitlab-org/cli/-/blob/main/docs/source/mr/merge.md>.
- Merge the merge request associated with the current branch interactively:
@ -13,11 +13,11 @@
- Merge the merge request, removing the branch on both the local and the remote:
`glab mr merge --remove-source-branch`
`glab mr merge {{[-d|--remove-source-branch]}}`
- Squash the current merge request into one commit with the message body and merge:
`glab mr merge --squash --message="{{commit_message_body}}"`
`glab mr merge {{[-s|--squash]}} {{[-m|--message]}} "{{commit_message_body}}"`
- Display help:

View file

@ -2,7 +2,7 @@
> Manage GitLab merge requests.
> Some subcommands such as `create` have their own usage documentation.
> More information: <https://glab.readthedocs.io/en/latest/mr>.
> More information: <https://gitlab.com/gitlab-org/cli/-/blob/main/docs/source/mr/index.md>.
- Create a merge request:

View file

@ -1,7 +1,7 @@
# glab pipeline
> List, view, and run GitLab CI/CD pipelines.
> More information: <https://glab.readthedocs.io/en/latest/pipeline>.
> More information: <https://gitlab.com/gitlab-org/cli/-/blob/main/docs/source/index.md>.
- View a running pipeline on the current branch:

View file

@ -1,7 +1,7 @@
# glab release
> Manage GitLab releases.
> More information: <https://glab.readthedocs.io/en/latest/release>.
> More information: <https://gitlab.com/gitlab-org/cli/-/blob/main/docs/source/release/index.md>.
- List releases in a Gitlab repository, limited to 30 items:

View file

@ -1,7 +1,7 @@
# glab repo
> Work with GitLab repositories.
> More information: <https://glab.readthedocs.io/en/latest/repo/index.html#synopsis>.
> More information: <https://gitlab.com/gitlab-org/cli/-/blob/main/docs/source/repo/index.md>.
- Create a new repository (if the repository name is not set, the default name will be the name of the current directory):

View file

@ -2,7 +2,7 @@
> Work seamlessly with GitLab.
> Some subcommands such as `config` have their own usage documentation.
> More information: <https://github.com/profclems/glab>.
> More information: <https://gitlab.com/gitlab-org/cli/-/tree/main/docs/source>.
- Clone a GitLab repository locally:
@ -18,7 +18,7 @@
- View an issue in the default browser:
`glab issue view --web {{issue_number}}`
`glab issue view {{[-w|--web]}} {{issue_number}}`
- Create a merge request:
@ -26,7 +26,7 @@
- View a pull request in the default web browser:
`glab mr view --web {{pr_number}}`
`glab mr view {{[-w|--web]}} {{pr_number}}`
- Check out a specific pull request locally: