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`?
/M
--
Magnus Therning OpenPGP: 0xAB4DFBA4
email: [email protected] jabber: [email protected]
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
pgpP5JjzEEeKS.pgp
Description: PGP signature
