On Fri, 26 Jun 2015 12:07:37 +0530 Sitaram Chamarty <sitar...@gmail.com> 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 dot-files. [1] http://repo.or.cz/w/topgit.git 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 ;) Ciao ciao, Antonio -- Antonio Ospite http://ao2.it A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing?
Makefile
Description: Binary data
_______________________________________________ vcs-home mailing list vcs-home@lists.madduck.net http://lists.madduck.net/listinfo/vcs-home