mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add --branch option to clone or checkout different dotfiles branch (#8331)
* feat: --branch option to clone different dotfiles branch * chore: checkout specified branch if dotfiles already exist
This commit is contained in:
@@ -20,6 +20,14 @@ coder dotfiles [flags] <git_repo_url>
|
||||
|
||||
## Options
|
||||
|
||||
### -b, --branch
|
||||
|
||||
| | |
|
||||
| ---- | ------------------- |
|
||||
| Type | <code>string</code> |
|
||||
|
||||
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
|
||||
|
||||
| | |
|
||||
|
||||
Reference in New Issue
Block a user