Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 570 Bytes

File metadata and controls

20 lines (13 loc) · 570 Bytes

dstack init

If you’re using private Git repos in your runs via repos, dstack will automatically try to use your default Git credentials (from ~/.ssh/config or ~/.config/gh/hosts.yml).

To provide custom Git credentials, run dstack init.

$ dstack init --help
#GENERATE#

You can set credentials with --git-identity (private SSH key) or --token (OAuth token).

Run dstack init in the repo’s directory, or pass the repo path or URL with --repo (or -P).