blob: e99395069736f397e18a22326f060749ab7d46a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
This repository contains some useful scripts and bits for sysdevs.
.mrconfig - to use this config the best thing to do is to put this in your
~/.mrconfig:
[leap/scripts]
checkout = git clone ssh://gitolite@code.leap.se:scripts scripts &&
ln -s ${HOME}/leap/scripts/.mrconfig ${HOME}/leap/.mrconfig
that way this scripts repository will be checked out and the .mrconfig file will
be symlinked into your $HOME/leap directory.
You will also need to add the path to this .mrconfig to your ~/.mrtrust.
Then when in $HOME/leap, you can run 'mr checkout' and 'mr update' to checkout
all the repositories, and to get them updated.
NOTE: all of this is assuming a certain directory structure, so have a look at
that before you go ahead. It is recommended to make a fresh directory to do the
'mr checkout' in
. superproject-post-push.sh - put this in your $HOME/bin and make it executable,
this will allow you to do 'git xpush' when in the root of a submodule and it
will push that change to the submodule, and then automatically update the
superproject to that latest commit.
|