mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 18:25:26 +00:00
force branch fetches in gitrunner
This commit is contained in:
@@ -119,7 +119,7 @@ func (gr *gitRunner) FetchTags(remote string) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
cmd := exec.Command("git", "fetch", "-t", remote)
|
||||
cmd := exec.Command("git", "fetch", "-t", remote, "-f")
|
||||
cmd.Dir = path
|
||||
stdoutStderr, err := cmd.CombinedOutput()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user