From 912f5193b9d84afddaa96562f41474e75520cd15 Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Thu, 6 Jun 2013 16:14:49 +1000 Subject: [PATCH] add_repo: copy the git config to ../etc when we add a repo --- add_repo | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/add_repo b/add_repo index db0970a..98cf1ae 100755 --- a/add_repo +++ b/add_repo @@ -14,3 +14,7 @@ branch=$3 [[ -z "$branch" ]] && branch="master" git remote add --no-tags -t "$branch" "$name" "$url" + +cp .git/config ../etc/git-config + +exit 0 -- 2.39.5