github

Description

Create a github context.

Git context are used to clone repositories during pipeline execution.
Learn more about git context here: https://codefresh.io/docs/docs/codefresh-yaml/steps/git-clone/.
To create Github context you need to generate the token here: https://github.com/settings/tokens.

Command

codefresh create context git github <name>

Options

Option Alias Default Description
–help Print help information
–access-token - t Access token from to be used to clone repositories. required
–owner - o account Owner of the context, user owned contexts cannot be accessible by other users across the account. required

Possible values:
- account
- user
–use-ssl - s true Connect to the git host using ssl. required

Possible values:
- true
- false
–host - h github.com Host name of your github (without protocol). required