git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Introducing vcsh - manage config files in $HOME via fake bare git repositories

From
Richard Hartmann <richih.mailinglist@gmail.com>
Date
Dec 20, 2011, 00:17 UTC
Message-ID
<CAD77+gTO35ZFdcOjTEEcymgDKMq4Uh3JZcqgXWR07kGksfkBqg@mail.gmail.com>
Hi all,
some of you may be familiar with fake bare git repositories[1].

Basically, they allow you to keep the git directory and its working directory separate from each other. This allows you to have an arbitrary number of repositories with working trees in $HOME. That, in turn, allows you to have one repo for zsh, one for vim, one for git, etc pp.

vcsh[2] is a front-end for dealing with fake bare git repos, i.e. it saves you a lot of typing and automates many things. It's written in pure POSIX shell.

vcsh's userbase is slowly expanding and as it's feature set and syntax are stable and there are no known bugs I think this is a good time to try to increase adoption rate. I strongly believe that a lot of people on this list could benefit from using it; hopefully you agree. Publishing it here makes sense as if you are reading this, you are obviously familiar with and using git already, anyway.

Feedback is very welcome. Good, bad or indifference, I will take it all.
Two notes:
* There is no test suite, yet. If anyone has a suggestion as to which
test suite has a reasonable feature set while having a syntax that
does not make you violently sick, or is even interested in helping to
write said test suite, do let me know.
* I am pondering renaming/aliasing vcsh to git-fbare.sh or similar.
That has a few issues, though..
** extra typing involved
** adds another command level of to otherwise standard git commands,
for example `git fbare zsh commit -a -m 'new feature'`
** forces everyone to have a default location for vcsh repos

Regards, Richard

[1] http://lists.madduck.net/pipermail/vcs-home/2011-April/000378.html [2] https://github.com/RichiH/vcsh

Next: Sitaram Chamarty
Message 1 of 3 in “Introducing vcsh - manage config files in $HOME via fake bare git repositories”
  1. Richard HartmannDec 20, 2011
  2. Sitaram ChamartyDec 20, 2011
  3. Richard HartmannDec 20, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.