1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/vcsh.md

29 lines
626 B
Markdown
Raw Normal View History

2018-09-24 18:19:29 +02:00
# vcsh
2021-01-07 11:06:38 -03:00
> Version Control System for the home directory using Git repositories.
> More information: <https://github.com/RichiH/vcsh>.
2018-09-24 18:19:29 +02: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 11:06:38 -03:00
- Execute a Git command on a managed repository:
2018-09-24 18:19:29 +02:00
`vcsh {{repository_name}} {{git_command}}`
- Push/pull all managed repositories to/from remotes:
`vcsh {{push|pull}}`
- Write a custom `.gitignore` file for a managed repository:
2018-09-24 18:19:29 +02:00
`vcsh write-gitignore {{repository_name}}`