mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-17 02:00:31 +00:00
Update cheatsheets
This commit is contained in:
33
vcsh
Normal file
33
vcsh
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# vcsh
|
||||
|
||||
> Version Control System for the home directory using Git repositories.
|
||||
> More information: <https://github.com/RichiH/vcsh>.
|
||||
|
||||
- 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}}`
|
||||
Reference in New Issue
Block a user