From: Johannes Schindelin Date: Sun, 26 Nov 2006 13:30:59 GMT Subject: Re: [PATCH] Use new .git/config for storing "origin" shortcut repository Message-ID: In-Reply-To: <200611261210.52154.andyparkins@gmail.com> Hi, On Sun, 26 Nov 2006, Andy Parkins wrote: > - echo >"$GIT_DIR/remotes/$origin" \ > - "URL: $repo > -Pull: refs/heads/$head_points_at:$origin_track" && > + git-repo-config remote."$origin".url "$repo" && > + git-repo-config remote."$origin".fetch "refs/heads/$head_points_at:$origin_track" ^$ && You do not need the "^$" here: this _is_ the first entry. I would even argue that this _has_ to replace whatever might be there (could be introduced by some bogus templates, for example), since the first fetch entry has a special meaning for pull. Ciao, Dscho