From 974cedae3ac2171672633bd14fbdf190dc439910 Mon Sep 17 00:00:00 2001 From: gregor herrmann Date: Tue, 27 Sep 2011 18:05:57 +0200 Subject: [PATCH] Move core.bare before core.worktree. Otherwise we get: + git config core.worktree ../../ + git config core.bare false fatal: core.bare and core.worktree do not make sense --- movein | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/movein b/movein index ccdd709..2bea17c 100755 --- a/movein +++ b/movein @@ -152,8 +152,8 @@ add() { git remote add origin $REPO_URL git config branch.master.remote origin git config branch.master.merge refs/heads/master - git config core.worktree ../../ git config core.bare false + git config core.worktree ../../ GIT_WORK_TREE="$PWD" git pull trap - 0 @@ -194,8 +194,8 @@ new() { git remote add origin $REPO_URL git config branch.master.remote origin git config branch.master.merge refs/heads/master - git config core.worktree ../../ git config core.bare false + git config core.worktree ../../ export GIT_WORK_TREE="$PWD" git add "$@" git commit -m "initial checkin" -- 2.39.5