aboutsummaryrefslogtreecommitdiff
path: root/README
blob: 68e1a01e8eef02e5500b734def3cd7a7e451b91f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Set of git helper scripts for working with multi-repository projects.

Setup:

1. There needs to be etc/git/modules file that defines all the
   repositories.

2. You would normall checkout the repository with these scripts
   next to your other repositories in the project and then add
   it to the modules file above (so that when you do ./pull.sh,
   you get script updates as well).

3. In the root of your project (i.e., where you have git, etc,
   and your project-specific repositories), create sym-links
   to the scripts. E.g.,

   ln -s git/*.sh ./

   You may want to remove the symlink to stash.sh so that stat.sh
   (the most frequently ran command) auto-completes on 's' (i.e.,
   you run it by typing "./a<TAB><ENTER>"). In this case you would
   run stash.sh as git/shash.sh.