Skip to main content

own_init

own init​

Initialize own-git folder

Synopsis​

Initialize own-git folder. And create multiples folders for objects and refs. You can specify the name of the initial branch, using the --initial-branch flag. The default value is "main".

own init [flags]

Examples​

own init --initial-branch ILoveSourceControl

Options​

  -h, --help                    help for init
-b, --initial-branch string Name of the initial branch (default "main")

Options inherited from parent commands​

  -c, --config string   Path to the config file
-v, --verbose Verbose mode

SEE ALSO​

  • own - own-git a simple git copycat using go functionalities
Auto generated by spf13/cobra on 20-Apr-2025​