github.com/zaquestion/lab@v0.25.1/docs/lab_fork.md (about)

     1  ## lab fork
     2  
     3  Fork a remote repository on GitLab and add as remote
     4  
     5  ### Synopsis
     6  
     7  Fork a remote repository on user's location of choice.
     8  Both an already existent remote or a repository path can be specified.
     9  
    10  ```
    11  lab fork [remote],[project name or ID] [flags]
    12  ```
    13  
    14  ### Examples
    15  
    16  ```
    17  lab fork origin
    18  lab fork coolGroup/coolProject
    19  lab fork 1234567
    20  lab fork upstream --remote-name origin
    21  lab fork origin --name new-awesome-project
    22  lab fork origin -g TheCoolestGroup -n InitialProject
    23  lab fork origin -p 'the_dot_git_path'
    24  lab fork origin -n 'new_fork' -r 'new_fork_remote'
    25  lab fork origin -s
    26  ```
    27  
    28  ### Options
    29  
    30  ```
    31    -g, --group string         fork project in a different group (namespace)
    32    -h, --help                 help for fork
    33        --http                 fork using HTTP protocol instead of SSH
    34    -n, --name string          fork project with a different name
    35        --no-wait              don't wait for forking operation to finish
    36    -p, --path string          fork project with a different path
    37    -r, --remote-name string   use a custom remote name for the fork
    38    -s, --skip-clone           skip clone after remote fork
    39  ```
    40  
    41  ### Options inherited from parent commands
    42  
    43  ```
    44        --debug      Enable debug logging level
    45        --no-pager   Do not pipe output into a pager
    46        --quiet      Turn off any sort of logging. Only command output is printed
    47  ```
    48  
    49  ### SEE ALSO
    50  
    51  * [lab](index.md)	 - lab: A GitLab Command Line Interface Utility
    52  
    53  ###### Auto generated by spf13/cobra on 27-Jun-2022