X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/59c4a2dc3b7f47d59a7e89bfae60140ac09177dc..e47baf02e1679514f0157a8c732dafb90e388f3b:/doc/vcsh.1.ronn diff --git a/doc/vcsh.1.ronn b/doc/vcsh.1.ronn index 19daed5..a25bf65 100644 --- a/doc/vcsh.1.ronn +++ b/doc/vcsh.1.ronn @@ -11,6 +11,8 @@ vcsh(1) - Version Control System for $HOME - multiple Git repositories in $HOME `vcsh` enter +`vcsh` foreach [-g] + `vcsh` help `vcsh` init @@ -19,7 +21,7 @@ vcsh(1) - Version Control System for $HOME - multiple Git repositories in $HOME `vcsh` list-tracked [] -`vcsh` list-untracked [<-r>] [] +`vcsh` list-untracked [<-a>] [<-r>] [] `vcsh` pull @@ -39,7 +41,7 @@ vcsh(1) - Version Control System for $HOME - multiple Git repositories in $HOME `vcsh` write-gitignore -`vcsh` +`vcsh` `vcsh` @@ -96,7 +98,12 @@ an interactive user. Delete an existing repository. * enter: - Enter repository; spawn new <$SHELL>. + Enter repository; spawn new <$SHELL> with <$GIT_DIR> set. + +* foreach: + Execute git command for every vcsh repository. + + `-g`: Execute in general context. * help: Display help. @@ -121,12 +128,14 @@ an interactive user. * list-untracked: List all files NOT tracked by vcsh. + `-a`: Show all files. + By default, the `git ls-files --exclude-standard` is called. + + `-r`: Recursive mode. By default, the file list is shallow and stops at directory levels where - possible. If you prefer to get a list of all files, append `-r` for - recursive mode. + possible. - If you want to list files not tracked by a specific repository, simply - append the repository's name last. + `$repo`: List files not tracked by this specific repository. * pull: Pull from all vcsh remotes. @@ -164,7 +173,7 @@ an interactive user. Write .gitignore.d/ via `git ls-files`. * : - Shortcut to run `vcsh` on a repo. Will prepend `git` to . + Shortcut to run `git` commands on a repo. Will prepend `git` to . * : Shortcut to run `vcsh enter `.