The download-commands plugin makes a few very useful commands available for cloning repository and fetching patches. As for clone commands, it gives clone
and clone with commit-msg hook
.
However, I would like to either add a new clone command or add options to the clone commands to simplify some operations. For example, clone -b
or clone --recurse-submodules
or any other added options for git clone
. Is this supported? If so, how would I do this?
Not currently possible
Someone will have to extend the existing plugin or develop a new one for this feature to be possible.