X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/c1b6930b5e9ec3e3871ed04150f100b1ff12aa8f..75f131147d3acb925adc1bf1cac240c59677b42e:/doc/vcsh.1.ronn?ds=inline diff --git a/doc/vcsh.1.ronn b/doc/vcsh.1.ronn index 7ebf9f5..3457736 100644 --- a/doc/vcsh.1.ronn +++ b/doc/vcsh.1.ronn @@ -1,5 +1,5 @@ -vcsh(1) - manage config files in $HOME via fake bare git repositories -===================================================================== +vcsh(1) - Version Control System for $HOME - multiple Git repositories in $HOME +=============================================================================== ## SYNOPSIS @@ -21,6 +21,10 @@ vcsh(1) - manage config files in $HOME via fake bare git repositories `vcsh` list-tracked-by +`vcsh` pull + +`vcsh` push + `vcsh` rename `vcsh` run @@ -45,7 +49,7 @@ working trees in $HOME without clobbering each other. That, in turn, means you can have one repository per config set (zsh, vim, ssh, etc), picking and choosing which configs you want to use on which machine. -`vcsh` is using a technique called fake bare git repositories, keeping <$GIT_DIR> +`vcsh` is using a technique called fake bare Git repositories, keeping <$GIT_DIR> in a different directory from <$GIT_WORK_TREE> which is pointed to <$HOME>. The use of symlinks is not needed in this setup, making for a cleaner setup. @@ -77,6 +81,9 @@ an interactive user. * clone: Clone an existing repository. + If you need to clone a bundle of repositories, look into the + `post-clone-retired` hook. + * delete: Delete an existing repository. @@ -98,6 +105,12 @@ an interactive user. * list-tracked-by: List files tracked by a repository. +* pull: + Pull from all vcsh remotes. + +* push: + Push to all vcsh remotes. + * rename: Rename a repository. @@ -122,7 +135,7 @@ an interactive user. Find in name of any tracked file. * write-gitignore: - Write .gitignore.d/ via git ls-files. + Write .gitignore.d/ via `git ls-files`. * : Shortcut to run `vcsh` on a repo. Will prepend `git` to . @@ -133,7 +146,7 @@ an interactive user. ## ENVIRONMENT As noted earlier, `vcsh` will set <$GIT_DIR> and <$GIT_WORK_TREE> to the -appropriate values for fake bare git repositories. +appropriate values for fake bare Git repositories. ## CONFIG @@ -151,16 +164,16 @@ executed in the context of your shell. Interesting knobs you can turn: * <$VCSH_GITIGNORE>: - Can be , , or . + Can be , , or . will seed the repo-specific ignore file with all file and directory names which `git ls-files` returns. + will not write any ignore file. + will descend through all directories recursively additionally to the above. - will not write any ignore file. - Defaults to . Less interesting knobs you could turn: @@ -248,7 +261,7 @@ resulting in unhappy end users. Like most people, the author initially made do with a single repository for all config files, all of which were soft-linked into <$HOME>. -Martin F. Krafft aka madduck came up with the concept of fake bare git +Martin F. Krafft aka madduck came up with the concept of fake bare Git repositories. vcsh was initally written by madduck. This version is a re-implementation from @@ -261,7 +274,7 @@ This manpage and `vcsh` itself were written by Richard "RichiH" Hartmann. ## COPYRIGHT -Copyright 2011-2012 Richard Hartmann +Copyright 2011-2013 Richard Hartmann Licensed under the GNU GPL version 2 or higher.