glab repo
Work with GitLab repositories on the command-line.
- Create a new repository (if the repository name is not set, the default name will be the name of the current directory):
glab repo create {name}
glab repo clone {owner}/{repository}
- Fork and clone a repository:
glab repo fork {owner}/{repository} --clone
- View a repository in the web browser:
glab repo view {owner}/{repository} --web
- Search some repositories in the GitLab instance:
glab repo search -s {search_string}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).