camp project add

Add a project to campaign

Synopsis

Add a git repository as a project in the campaign.

The project is cloned as a git submodule into the projects/ directory. A worktree directory is also created for future parallel development.

Source can be:

Examples: camp project add git@github.com:org/api.git # Add remote repo camp project add https://github.com/org/web.git # Add via HTTPS camp project add --local ./my-repo --name my-project # Add existing local repo camp project add git@github.com:org/api.git --name backend # Custom name

camp project add <source> [flags]

Options

  -h, --help           help for add
  -l, --local string   Add existing local repository instead of cloning
  -n, --name string    Override project name (defaults to repo name)
      --no-commit      Skip automatic git commit
  -p, --path string    Override destination path (defaults to projects/<name>)

Options inherited from parent commands

      --config string   config file (default: ~/.obey/campaign/config.yaml)
      --no-color        disable colored output
      --verbose         enable verbose output

SEE ALSO