tldr/pages/common/vcsh.md

29 lines
624 B
Markdown
Raw Normal View History

2018-09-24 19:19:29 +03:00
# vcsh
> Version Control System for the home directory using git repositories.
> More information: <https://github.com/RichiH/vcsh>.
2018-09-24 19:19:29 +03: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`
- Execute a git command on a managed repository:
`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:
`vcsh write-gitignore {{repository_name}}`