This repository was archived by the owner on Sep 11, 2020. It is now read-only.
This repository was archived by the owner on Sep 11, 2020. It is now read-only.
Nonexistent remote HEAD ref #645
Open
Description
Running git clone https://github.com/lodyagin/bitcoinj
produces a warning, but you can list branches and check out the correct one.
warning: remote HEAD refers to nonexistent ref, unable to checkout.
How would you do this in go-git
? The below code results in plumbing.ErrReferenceNotFound
.
repository, err := git.Clone(memory.NewStorage(), memfs.New(), &git.CloneOptions{
URL: "https://github.com/lodyagin/bitcoinj",
})
It seems like this is currently not possible?