Force update local tags

This commit is contained in:
Donny Xia
2020-06-18 10:42:41 -07:00
parent fb6830c98a
commit e62f1adabf

View File

@@ -119,7 +119,7 @@ func (gr *gitRunner) FetchTags(remote string) error {
if err != nil { if err != nil {
return err return err
} }
cmd := exec.Command("git", "fetch", "-t", remote) cmd := exec.Command("git", "fetch", "-t", remote, "-f")
cmd.Dir = path cmd.Dir = path
stdoutStderr, err := cmd.CombinedOutput() stdoutStderr, err := cmd.CombinedOutput()
if err != nil { if err != nil {