Equivalent for "git config branch.ABC.remote" #924
Answered
by
manuel-koch
manuel-koch
asked this question in
Q&A
-
I'm struggling to find the equivalent code in go-git to do something like |
Beta Was this translation helpful? Give feedback.
Answered by
manuel-koch
Nov 15, 2023
Replies: 1 comment
-
It looks like this is possible: branch, err := r.repo.Branch("ABC")
fmt.Printf("Remote is %s", branch.Remote) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
manuel-koch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It looks like this is possible: