git-co-default-branch

Checkout to the default branch.

For repositories whose origin is on GitHub only.

To set a token, keyring set tmu-github-api "${USER}". The token must have access to the public_repo or repo scope.

Usage

git-co-default-branch [OPTIONS] ORIGIN_NAME

Options

-b, --base-url <base_url>

Base URL for enterprise.

-d, --debug

Enable debug output.

-u, --username <username>

Username (passed to keyring).

Arguments

ORIGIN_NAME

Optional argument