A `git clone --bare <url>` will create a clone with a configuration
where the settings for remote.origin are like this:

    [remote "origin"]
        url = <url>

Is there a way to get `clone --bare` to create a configuration that
has `fetch` set, like this:

    [remote "origin"]
        url = <url>
        fetch = +refs/heads/*:refs/remotes/origin/*

Or am I left to first cloning and then using `git config`?


Magnus Therning                      OpenPGP: 0xAB4DFBA4 
email: mag...@therning.org   jabber: mag...@therning.org
twitter: magthe               http://therning.org/magnus

Heuristic is an algorithm in a clown suit. It’s less predictable, it’s more
fun, and it comes without a 30-day, money-back guarantee.
     -- Steve McConnell, Code Complete 

Attachment: pgpP5JjzEEeKS.pgp
Description: PGP signature

Reply via email to