From 75cb85e0cfa66480492b80ada19bd5a02ea12305 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 29 May 2015 18:31:08 +0200 Subject: Add git helper scripts --- README | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 README (limited to 'README') diff --git a/README b/README new file mode 100644 index 0000000..68e1a01 --- /dev/null +++ b/README @@ -0,0 +1,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"). In this case you would + run stash.sh as git/shash.sh. -- cgit v1.1