From 3f571e0b3a7893ed068acd75f27e152d29945637 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Wed, 22 Jun 2005 18:49:43 -0700 Subject: Add "git-clone-script" thingy It's just a trivial wrapper, but it should make Jeff's kernel developer guide to git look a bit less intimidating. --- git-clone-script | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 git-clone-script (limited to 'git-clone-script') diff --git a/git-clone-script b/git-clone-script new file mode 100755 index 000000000..654f66dcc --- /dev/null +++ b/git-clone-script @@ -0,0 +1,7 @@ +#!/bin/sh +repo="$1" +dir="$2" +mkdir $dir || exit 1 +cd $dir +git-init-db +git fetch "$repo" && ( git-rev-parse FETCH_HEAD > .git/HEAD ) -- cgit v1.2.1