vcsh: use branches instead of repos?
ao2 at ao2.it
Fri Jun 26 23:55:27 CEST 2015
On Fri, 26 Jun 2015 12:07:37 +0530
Sitaram Chamarty <sitaramc at gmail.com> wrote:
> (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 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: http://marc.info/?l=vcs-home&m=129968843931609&w=2
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 ;)
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...
Size: 3027 bytes
Desc: not available
More information about the vcs-home