From 74936dfd85b4a22dc1ce38f72cab14bf52da6ff8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 2 Mar 2011 11:10:02 +0200 Subject: Add pull script (uses rebase instead of merge by default) --- git/pull.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 git/pull.sh (limited to 'git') diff --git a/git/pull.sh b/git/pull.sh new file mode 100755 index 0000000..51fe2a1 --- /dev/null +++ b/git/pull.sh @@ -0,0 +1,15 @@ +#! /bin/sh + +# Assume this script never run via PATH. +# +self=`realpath $0` +. `dirname $self`/modules + +wd=`pwd` + +for i in $all_modules; do + echo "pull $i" 1>&2 + cd $i + git pull --rebase $* + cd $wd +done -- cgit v1.1