I checked the documentation and scanned through the source code for clone:
https://github.com/git/git/blob/master/builtin/clone.c

And nothing jumps out at me as a way to specify a default depth using
a global git configuration file.  I see the option defined at
https://github.com/git/git/blob/master/builtin/clone.c#L87

Since c is not my primary programming language, it may well be that
there is some common parsing function/file which automatically maps
command options to config file options.  So, is there a way to set a
default depth for the clone command?



-- 
Best Regards,

Gary

Gary A. Mort
Backend Developer | Shero Designs, Inc.



Office  845-547-0224 Ext 126 | Fax 845-547-0224
g...@sherodesigns.com | http://sherodesigns.com
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to