简体   繁体   中英

Clone repo with submodules using nodegit

What is the equivalent way of executing git clone --recurse-submodules git@myrepo.git with NodeGit ?

I've found some manual examples of how to do it but they're quite old and I'm hoping there's a native way to do it now.

There's no way to do this with nodegit natively because it's not supported by the underlying library, libgit2 : https://github.com/nodegit/nodegit/issues/1233#issuecomment-809717805

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM