Skip to content
1 min read

fj branch-create

Create a branch on Forgejo

fj branch-create [OPTIONS] <NAME>

Every command also accepts the global flags: --host, --debug, --no-pager, --json-fields.

Arguments

  • <NAME> — Branch name to create

Options

  • -R, --repo <REPO> — Target repository as <owner>/<name>. Inferred from the git remote when omitted
  • --from <FROM> — Source branch, tag, or SHA. Defaults to the server’s default branch
  • --color <COLOR> — When to use ANSI color in output [default: auto][possible values: auto, always, never]
Contributors
  • Stephen Way