Fork and clone a repository

glab repo

  • Work with GitLab repositories on the command-line.
    More information: <https://glab.readthedocs.io/en/latest/repo/index.html#synopsis>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

glab repo fork {{owner}}/{{repository}} --clone

click the source code to copy