All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
5 Make sure none of those files/diretories exist for your test (user). If they do, move them away for now:
9 ~/.config/mr/available.d/mr.vcsh
10 ~/.config/mr/available.d/zsh.vcsh
11 ~/.config/mr/config.d/mr.vcsh
12 ~/.config/vcsh/repo.d/mr.git/
14 All of the files are part of the template repo, the directory is where the template will be stored
16 apt-get install mr # this is optional, but highly recommended
18 ==Clone the template==
22 git clone git://github.com/RichiH/vcsh.git vcsh
24 ln -s vcsh /usr/local/bin
26 vcsh clone git://github.com/RichiH/vcsh_mr_template.git mr.vcsh
28 ==Enable your test repository==
32 cd ~/.config/mr/config.d/
33 ln -s ../available.d/mr.vcsh .
37 ==Set up your own repos==
39 Now, it's time to edit the template config and fill it with your own remotes:
41 vim .config/mr/available.d/mr.vcsh
42 vim .config/mr/available.d/zsh.vcsh
44 And then create your own stuff
47 vcsh run foo git add -f bar baz quux
48 vcsh run foo git remote add origin git://quuux
49 vcsh run foo git commit
52 cp .config/mr/available.d/mr.vcsh .config/mr/available.d/foo.vcsh
53 vim .config/mr/available.d/foo.vcsh # add your own repo
59 This is the beauty of it all. Once you are set up, just run:
67 =The steal-from-template way=
69 git clone git://github.com/RichiH/vcsh_mr_template.git
71 Then look around in the clone. Should be reasonable simple to understand. If not, poke me RichiH on freenode (query) or OFTC (#vcs-home).
76 # This is how my setup looks. Adapt to your style or copy mine verbatim, both is fine.
82 # Clone vcsh and make it available
83 git clone git://github.com/RichiH/vcsh.git vcsh
84 sudo ln -s ~/work/git/vcsh/vcsh /usr/bin/local
87 # Grab my mr config. see below for details on how I set this up
88 vcsh clone ssh://<remote>/mr.git
89 cd ~/.config/mr/config.d/
90 ln -s ../available.d/* .
97 # mr is used to actually retrieve configs, etc
101 include = cat ~/.config/mr/config.d/*
102 ~ % echo $XDG_CONFIG_HOME
104 ~ % ls $XDG_CONFIG_HOME/mr/available.d # random selection of my repos
105 git-annex gitk.vcsh git.vcsh ikiwiki mr.vcsh reportbug.vcsh snippets.git wget.vcsh zsh.vcsh
107 # then simply ln -s whatever you want on your local machine from
108 # $XDG_CONFIG_HOME/mr/available.d to $XDG_CONFIG_HOME/mr/config.d