chezmoi init  <source>
Setup the source directory and update the destination directory to match the target state
Arguments
Options
| Name | Description | 
|---|
| --apply, -a | Update destination directory | 
| --branch  <branch> | Set initial branch to checkout | 
| --config-path, -C  <config-path> | Path to write generated config file | 
| --data | Include existing template data | 
| --depth, -d  <depth> | Create a shallow clone | 
| --exclude, -x  <exclude> | Exclude entry types | 
| --guess-repo-url, -g | Guess the repo URL | 
| --one-shot | Run in one-shot mode | 
| --prompt | Force prompt*Once template functions to prompt | 
| --purge, -p | Purge config and source directories after running | 
| --purge-binary, -P | Purge chezmoi binary after running | 
| --ssh | Use ssh instead of https when guessing dotfile repo URL |