You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 11, 2020. It is now read-only.
I acknowledge that it's entirely possible (highly likely even) that I'm doing something wrong, but it's not immediately obvious to me what it is. I'm trying to use PlainClone and I'm getting the initial .git files for the repository but not the actual source. I'm either getting a 'repository already exists' or a 'reference not found' error. I'd appreciate any feedback on what I'm doing wrong.
I'm using go-git.V4 on Go 1.8
_, err := git.PlainClone("d:/localsrc", false, &git.CloneOptions{
URL: "https://ourstash.scm.ourlibrary.git",
RemoteName: "develop", //tried commenting this out to no avial
Depth : 9999999,
SingleBranch: true, //setting this to true results in 'repository already exists' error, setting this to false results in 'reference not found' error
RecurseSubmodules: 9999999,
})
The text was updated successfully, but these errors were encountered:
I acknowledge that it's entirely possible (highly likely even) that I'm doing something wrong, but it's not immediately obvious to me what it is. I'm trying to use PlainClone and I'm getting the initial .git files for the repository but not the actual source. I'm either getting a 'repository already exists' or a 'reference not found' error. I'd appreciate any feedback on what I'm doing wrong.
I'm using go-git.V4 on Go 1.8
The text was updated successfully, but these errors were encountered: