From 43f95b28942bcf4cdc288bbf2e73acf23ceb97b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Wei=C3=9Fmann?= Date: Mon, 24 Sep 2018 18:19:29 +0200 Subject: [PATCH] vcsh: add page (#2338) --- pages/common/vcsh.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pages/common/vcsh.md diff --git a/pages/common/vcsh.md b/pages/common/vcsh.md new file mode 100644 index 000000000..ca83d3e81 --- /dev/null +++ b/pages/common/vcsh.md @@ -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}}`