mirror of
https://github.com/coder/coder.git
synced 2026-06-03 13:08:25 +00:00
9f5bc7c10b
* feat: --branch option to clone different dotfiles branch * chore: checkout specified branch if dotfiles already exist
761 B
761 B
Usage: coder dotfiles [flags] <git_repo_url>
Personalize your workspace by applying a canonical dotfiles repository
- Check out and install a dotfiles repository without prompts:
$ coder dotfiles --yes git@github.com:example/dotfiles.git
Options
-b, --branch string
Specifies which branch to clone. If empty, will default to cloning the
default branch or using the existing branch in the cloned repo on
disk.
--symlink-dir string, $CODER_SYMLINK_DIR
Specifies the directory for the dotfiles symlink destinations. If
empty, will use $HOME.
-y, --yes bool
Bypass prompts.
---
Run `coder --help` for a list of global options.
Personalize your workspace by applying a canonical dotfiles repository
- Check out and install a dotfiles repository without prompts:
$ coder dotfiles --yes git@github.com:example/dotfiles.git
Options
-b, --branch string
Specifies which branch to clone. If empty, will default to cloning the
default branch or using the existing branch in the cloned repo on
disk.
--symlink-dir string, $CODER_SYMLINK_DIR
Specifies the directory for the dotfiles symlink destinations. If
empty, will use $HOME.
-y, --yes bool
Bypass prompts.
---
Run `coder --help` for a list of global options.