Skip to content

Commit

Permalink
chore: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesmithgh committed Mar 21, 2024
1 parent f8eaf3f commit 04590f4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/git/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,12 @@ func HasCleanWorkingTree() (bool, error) {
}

func BranchRemote(branch string) (string, error) {
r := fmt.Sprintf("branch.%s.remote", branch)
fmt.Printf("\n r is %s \n", r)
cmd := exec.Command(
"git",
"config",
"branch.main.remote",
r,
)
stdCombined, err := cmd.CombinedOutput()
if err != nil {
Expand Down

0 comments on commit 04590f4

Please sign in to comment.