snippetbashTip
vcsh — Version Control System for the home directory using Git repositories. See also: `chezmoi`, `stow`, `
Viewed 0 times
thevcshcommandclicontrolforversionsystem
Problem
How to use the
vcsh command: Version Control System for the home directory using Git repositories. See also: chezmoi, stow, tuckr, homeshick. More information: <https://manned.org/vcsh>.Solution
vcsh — Version Control System for the home directory using Git repositories. See also: chezmoi, stow, tuckr, homeshick. More information: <https://manned.org/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 listExecute 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}}Code Snippets
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 listExecute a Git command on a managed repository
vcsh {{repository_name}} {{git_command}}Push/pull all managed repositories to/from remotes
vcsh {{push|pull}}Context
tldr-pages: common/vcsh
Revisions (0)
No revisions yet.