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
b3e58bee
Commit
b3e58bee
authored
Jun 9, 2013
by
Richard Hartmann
Browse files
Options
Downloads
Patches
Plain Diff
README.md: %s/</`/gc; %s/>/`/gc
parent
cc6756d7
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+7
-7
7 additions, 7 deletions
README.md
with
7 additions
and
7 deletions
README.md
+
7
−
7
View file @
b3e58bee
...
@@ -15,7 +15,7 @@ vcsh - Version Control System for $HOME (based on git)
...
@@ -15,7 +15,7 @@ vcsh - Version Control System for $HOME (based on git)
While it may appear that there's an overwhelming amount of documentation and
While it may appear that there's an overwhelming amount of documentation and
while the explanation of the concepts behind
`vcsh`
needs to touch a few gory
while the explanation of the concepts behind
`vcsh`
needs to touch a few gory
details of
`git`
internals, getting started with vcsh is extremely simple.
details of
`git`
internals, getting started with
`
vcsh
`
is extremely simple.
Let's say you want to version control your
`vim`
configuration:
Let's say you want to version control your
`vim`
configuration:
...
@@ -51,7 +51,7 @@ community around the general idea of version controlling your (digital) life.
...
@@ -51,7 +51,7 @@ community around the general idea of version controlling your (digital) life.
[
vcsh
][
vcsh
]
allows you to maintain several git repositories in one single
[
vcsh
][
vcsh
]
allows you to maintain several git repositories in one single
directory. They all maintain their working trees without clobbering each other
directory. They all maintain their working trees without clobbering each other
or interfering otherwise. By default, all git repositories maintained via
or interfering otherwise. By default, all git repositories maintained via
`vcsh`
are stored in
<
$
HOME
>
but you can override this setting if you want to.
`vcsh`
are stored in
`
$HOME
`
but you can override this setting if you want to.
All that means that you can have one repository per application or application
All that means that you can have one repository per application or application
family, i.e.
`zsh`
,
`vim`
,
`ssh`
, etc. This, in turn, allows you to clone
family, i.e.
`zsh`
,
`vim`
,
`ssh`
, etc. This, in turn, allows you to clone
custom sets of configurations onto different machines or even for different
custom sets of configurations onto different machines or even for different
...
@@ -63,7 +63,7 @@ or available to root and you may want to maintain different configuration for
...
@@ -63,7 +63,7 @@ or available to root and you may want to maintain different configuration for
`vcsh`
was designed with
[
mr
][
mr
]
in mind so you might want to install that, as
`vcsh`
was designed with
[
mr
][
mr
]
in mind so you might want to install that, as
well.
well.
Read
<
INSTALL.md
>
and
<
PACKAGING.md
>
for instructions specific to your operating
Read
`
INSTALL.md
`
and
`
PACKAGING.md
`
for instructions specific to your operating
system.
system.
The following overview will try to give you an idea of the use cases and
The following overview will try to give you an idea of the use cases and
...
@@ -82,20 +82,20 @@ They can all be found [on the author's talk page][talks].
...
@@ -82,20 +82,20 @@ They can all be found [on the author's talk page][talks].
## Comparison to Other Solutions ##
## Comparison to Other Solutions ##
Most people who decide to put their dotfiles under version control start with a
Most people who decide to put their dotfiles under version control start with a
single repository in
<
$
HOME
>
, adding all their dotfiles (and possibly more)
single repository in
`
$HOME
`
, adding all their dotfiles (and possibly more)
to it. This works, of course, but can become a nuisance as soon as you try to
to it. This works, of course, but can become a nuisance as soon as you try to
manage more than one host.
manage more than one host.
The next logical step is to create single-purpose repositories in, for example,
The next logical step is to create single-purpose repositories in, for example,
<
~/.
dotfiles
>
and to create symbolic links into
<
$
HOME
>
. This gives you the
`
~/.dotfiles
`
and to create symbolic links into
`
$HOME
`
. This gives you the
flexibility to check out only certain repositories on different hosts. The
flexibility to check out only certain repositories on different hosts. The
downsides of this approach are the necessary manual steps of cloning and
downsides of this approach are the necessary manual steps of cloning and
symlinking the individual repositories.
symlinking the individual repositories.
`vcsh`
takes this second approach one step further. It expects
`vcsh`
takes this second approach one step further. It expects
single-purpose repositories and stores them in a hidden directory (similar
single-purpose repositories and stores them in a hidden directory (similar
to
<
~/.
dotfiles
>
). However, it does not create symbolic links in
<
$
HOME
>
; it
to
`
~/.dotfiles
`
). However, it does not create symbolic links in
`
$HOME
`
; it
puts the actual files right into
<
$
HOME
>
.
puts the actual files right into
`
$HOME
`
.
Furthermore, by making use of
[
mr
][
mr
]
, it makes it very easy to enable/disable
Furthermore, by making use of
[
mr
][
mr
]
, it makes it very easy to enable/disable
and clone a large number of repositories. The use of
`mr`
is technically
and clone a large number of repositories. The use of
`mr`
is technically
...
...
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