Skip to main content

Credential Setup

Configure Git Credentials

Stable

Keep normal Git authentication first and optionally provide a protected HTTPS token fallback to a container.

Commandcusty configure credentials

Category

Configuration

Quick Command

custy configure credentials [COMMAND]

native firstGitHubGitLabDocker

Overview

A Linux container does not automatically inherit Windows Git Credential Manager or another host login session. Custy can optionally supply a GitHub or GitLab personal access token after normal Git helpers have had the first chance to authenticate.

Authentication Order

Features

1. Native Git

Use configured Git helpers, cached sessions, or approved interactive prompting.

2. SSH

SSH remotes stay entirely on Git and SSH; Custy does not manage private keys.

3. External File

For eligible HTTPS remotes, read a protected token file outside the project.

4. Environment

If the configured file is missing, try the named environment variable.

Continue