> 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/* 
Did you try out -c ?

-c <key>=<value>
> Set a configuration variable in the newly-created repository; this takes 
> effect immediately after the repository is initialized, but before the 
> remote history is fetched or any files checked out. The key is in the same 
> format as expected by 
> git-config(1)<https://www.kernel.org/pub/software/scm/git/docs/git-config.html>
>  (e.g., core.eol=true). If multiple values are given for the same key, 
> each value will be written to the config file. This makes it safe, for 
> example, to add additional fetch refspecs to the origin remote. 

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to