]> git.madduck.net Git - code/myrepos.git/blob - mrconfig

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

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.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

handle being in a subdir of a repository
[code/myrepos.git] / mrconfig
1 # An example config file for the mr(1) command.
2
3 [src/mr]
4 checkout = git clone ssh://kitenet.net/srv/git/kitenet.net/mr
5
6 [src/linux-2.6]
7 checkout = git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
8 # I only check this out on kodama, otherwise skip it.
9 skip = test $(hostname) != kodama
10
11 [src/dpkg]
12 # A merge of the upstream dpkg git repo and my own personal branch.
13 checkout = git clone git://git.debian.org/git/dpkg/dpkg.git && \
14         cd dpkg && \
15         git remote add kite ssh://kitenet.net/srv/git/kitenet.net/dpkg && \
16         git fetch kite && \
17         git checkout -b sourcev3 kite/sourcev3
18 update = git pull origin master && git pull kite sourcev3
19 commit = git push kite
20
21 # My home directory, which I keep in svn.
22 []
23 checkout = svn co svn+ssh://svn.kitenet.net/srv/svn/joey/trunk/home-$(hostname) joey
24 # run svnfix after each update
25 update = svn update && svnfix
26
27 [default]
28 # Teach mr how to run svn cleanup.
29 cleanup = if [ -d .svn ]; then svn cleanup ; fi