1glab(1)                                                                glab(1)
2
3
4

NAME

6       glab-repo-create - Create a new GitLab project/repository.
7
8
9

SYNOPSIS

11       glab repo create [path] [flags]
12
13
14

DESCRIPTION

16       Create a new GitLab project/repository.
17
18
19

OPTIONS

21       --defaultBranch=""      Default branch of the project. If not provided,
22       master by default.
23
24
25       -d, --description=""      Description of the new project
26
27
28       -g, --group=""      Namespace/group for the new  project  (defaults  to
29       the current user’s namespace)
30
31
32       --internal[=false]      Make project internal: visible to any authenti‐
33       cated user (default)
34
35
36       -n, --name=""      Name of the new project
37
38
39       -p,  --private[=false]       Make  project  private:  visible  only  to
40       project members
41
42
43       -P,  --public[=false]      Make project public: visible without any au‐
44       thentication
45
46
47       --readme[=false]      Initialize project with README.md
48
49
50       --remoteName="origin"      Remote name for the  Git  repository  you're
51       in. If not provided, origin by default.
52
53
54       -t, --tag=[]      The list of tags for the project.
55
56
57

OPTIONS INHERITED FROM PARENT COMMANDS

59       --help[=false]      Show help for command
60
61
62

EXAMPLE

64       # create a repository under your account using the current directory name
65       $ glab repo create
66
67       # create a repository under a group using the current directory name
68       $ glab repo create --group glab-cli
69
70       # create a repository with a specific name
71       $ glab repo create my-project
72
73       # create a repository for a group
74       $ glab repo create glab-cli/my-project
75
76
77
78
79

SEE ALSO

81       glab-repo(1)
82
83
84
85Auto generated by spf13/cobra      Nov 2023                            glab(1)
Impressum