2018-09-24 17:19:29 +01:00
|
|
|
# vcsh
|
|
|
|
|
2021-01-07 14:06:38 +00:00
|
|
|
> Version Control System for the home directory using Git repositories.
|
2024-04-04 05:34:14 +01:00
|
|
|
> See also: `chezmoi`, `stow`, `tuckr`, `homeshick`.
|
2019-06-03 01:06:36 +01:00
|
|
|
> More information: <https://github.com/RichiH/vcsh>.
|
2018-09-24 17:19:29 +01:00
|
|
|
|
|
|
|
- Initialize an (empty) repository:
|
|
|
|
|
|
|
|
`vcsh init {{repository_name}}`
|
|
|
|
|
|
|
|
- Clone a repository into a custom directory name:
|
|
|
|
|
|
|
|
`vcsh clone {{git_url}} {{repository_name}}`
|
|
|
|
|
|
|
|
- List all managed repositories:
|
|
|
|
|
|
|
|
`vcsh list`
|
|
|
|
|
2021-01-07 14:06:38 +00:00
|
|
|
- Execute a Git command on a managed repository:
|
2018-09-24 17:19:29 +01:00
|
|
|
|
|
|
|
`vcsh {{repository_name}} {{git_command}}`
|
|
|
|
|
|
|
|
- Push/pull all managed repositories to/from remotes:
|
|
|
|
|
|
|
|
`vcsh {{push|pull}}`
|
|
|
|
|
2021-01-31 17:05:18 +00:00
|
|
|
- Write a custom `.gitignore` file for a managed repository:
|
2018-09-24 17:19:29 +01:00
|
|
|
|
|
|
|
`vcsh write-gitignore {{repository_name}}`
|