Passing CloneOptions
See original GitHub issueI tried using a javascript object, and various combinations of arrays and strings.
I then tried instantiating git.CloneOptions
, but it was complaining about needing git_clone_options
. There appears to be a libgit2 macro GIT_CLONE_OPTIONS_INIT
but I’ve no idea how to call it.
Any help / pointers would be great, thank you.
Issue Analytics
- State:
- Created 10 years ago
- Comments:17 (2 by maintainers)
Top Results From Across the Web
CloneOption (Git plugin 4.14.3 API) - Jenkins Javadoc
The fix for JENKINS-31393 exposed JENKINS-36507 which seems to show that the Gerrit Plugin assumes all references are fetched, even though it only...
Read more >git-clone Documentation - Git
clone.defaultRemoteName. The name of the remote to create when cloning a repository. Defaults to origin , and can be overridden by passing the...
Read more >Operation::CloneOptions Class Reference - MLIR
Class encompassing various options related to cloning an operation. Users of this class should pass it to Operation's 'clone' methods. Current options include:....
Read more >Using NodeGit CloneOptions to clone a branch - Stack Overflow
I am trying to work out how to pass clone options to the nodegit clone method. git. Repo. clone(URL, path, CloneOptions, callback);
Read more >CloneOptions Class (Microsoft.TeamFoundation.TestManagement ...
Public property, OverrideFieldName, The name of any Field that must be overridden with the supplied during Clone operation. You can pass the Field's ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
+1 for mirror
Would like to be able to pass the --mirror option to clone. +1 for getting this to work.