mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 14:42:07 +02:00
vcsh: add page (#2338)
This commit is contained in:
parent
6a42c42090
commit
43f95b2894
1 changed files with 27 additions and 0 deletions
27
pages/common/vcsh.md
Normal file
27
pages/common/vcsh.md
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# vcsh
|
||||||
|
|
||||||
|
> Version Control System for the home directory using git repositories.
|
||||||
|
|
||||||
|
- 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}}`
|
Loading…
Add table
Reference in a new issue