How do I do the equivalent of `git remote set-branches origin --add other-branch` in go-git?

102 views Asked by At

I have a huge repository with extensive commit history. To reduce clone time, I do a single branch option with a depth of 1. This immensely speeds up my cloning time however, it cannot properly resolve remote branches like this. Wondering if I can do the samething in go-git?

0

There are 0 answers