vcsh: use branches instead of repos?

Antonio Ospite ao2 at
Fri Jun 26 23:55:27 CEST 2015

On Fri, 26 Jun 2015 12:07:37 +0530
Sitaram Chamarty <sitaramc at> wrote:

> Hi,
> (I couldn't find this
> on a quick google search, or on github issues search)
> Would it be possible to use a single repo, with each configuration (vim,
> zsh, etc) being a *branch* in that repo, rather than each config being
> its own repo?

If you follow the rule that branches keep track of _distinct_ sets of
files, then merging all branches together does not create conflicts,
and you can use topgit[1] to create a "merge-all" branch with all the


However switching branches would still change the checked-out files,
so while this may work to manage a _copy_ of the dot-files, it is not
suited for live use.

I did some experiments about that in the past but never used this
solution in practice:

I am attaching now the Makefile which I failed to share in that thread
from 2011, I take no responsibility tho, I have not touched that code
in years ;)

Ciao ciao,

Antonio Ospite

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 3027 bytes
Desc: not available
URL: <>

More information about the vcs-home mailing list