Add Repository

Description

Add a repository from git context to codefresh.

Command

codefresh add repository [fullname]

Aliases

codefresh add repo [fullname]

Arguments

Option Alias Default Description
fullname Full name of repo (template: “owner/repo”). required

Options

Option Alias Type Default Description
--help Print help information
--context -c Name of the git context to use, if not passed the default will be used

Examples

Add repo “some-repo” of “codefresh-io” owner from default git context

codefresh add repo codefresh-io/some-repo

Add repo “some-repo” of “codefresh-io” owner from git context “bitbucket”

codefresh add repo codefresh-io/some-repo -c bitbucket