Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vcsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kevin Lyda
vcsh
Commits
9fe9f7d5
Commit
9fe9f7d5
authored
13 years ago
by
Richard Hartmann
Browse files
Options
Downloads
Patches
Plain Diff
Reformat and update docs, completion etc
parent
af74f89b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
_vcsh
+3
-2
3 additions, 2 deletions
_vcsh
doc/vcsh.1.ronn
+18
-12
18 additions, 12 deletions
doc/vcsh.1.ronn
vcsh
+4
-5
4 additions, 5 deletions
vcsh
with
25 additions
and
19 deletions
_vcsh
+
3
−
2
View file @
9fe9f7d5
...
...
@@ -4,10 +4,11 @@
# exit\:"exit repo"
_arguments
\
':subcommand:((
clone\:"clone from repo"
help\:"display help"
init\:"init & clone from repo"
delete\:"delete repo"
list\:"list all repos"
run\:"run command on repo"
init\:"init & clone from repo"
clone\:"clone from repo"
seed-gitignore\:"seed .gitignore.d/foo from git ls-files"
))'
This diff is collapsed.
Click to expand it.
doc/vcsh.1.ronn
+
18
−
12
View file @
9fe9f7d5
...
...
@@ -3,17 +3,20 @@ vcsh(1) - manage and sync config files via git
## SYNOPSIS
`vcsh` init <foo>
`vcsh` clone <url> [<location>]
`vcsh` run <foo> git command
`vcsh` help
`vcsh` delete
`vcsh` init <foo>
`vcsh` list
`vcsh` run <foo> git command
`vcsh` seed-gitignore
`vcsh` help
## DESCRIPTION
...
...
@@ -35,25 +38,28 @@ A sample configuration for `vcsh` and `mr` can be found at
## OPTIONS
* clone:
Clone an existing repository.
* help:
Display help.
* delete:
Delete an existing repository.
* init:
Initialize an empty repository.
*
clone
:
Clone an existing
repositor
y
.
*
list
:
List all local vcsh
repositor
ies
.
* run:
Run command with <$GIT_DIR> and <$GIT_WORK_TREE> set. Allows you to run any
and all commands without any restrictions. Use with care.
* list:
List all local vcsh repositories.
* seed-gitignore:
Seed .gitignore.d/<repo> from git ls-files.
* help:
Display help.
## ENVIRONMENT
As noted earlier, `vcsh` will set <$GIT_DIR> and <$GIT_WORK_TREE> to the
...
...
This diff is collapsed.
Click to expand it.
vcsh
+
4
−
5
View file @
9fe9f7d5
...
...
@@ -33,16 +33,15 @@ verbose() {
help
()
{
echo
"usage:
$SELF
<args>
clone <remote>
\\
[<repo>] Clone from an existing repository
help Display this help
delete Delete an existing repository
init <repo> Initialize a new repository
list List all repos
run <repo>
\\
<command> Use this repository
init <repo> Initialize a new repository
clone <remote>
\\
[<repo>] Clone from an existing repository
seed-gitignore
\\
<repo> Seed .gitignore.d/<repo> from git ls-files"
>
&2
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment