summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pkg/commands/tags.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/tags.go b/pkg/commands/tags.go
index 18c09194c..fc76d3651 100644
--- a/pkg/commands/tags.go
+++ b/pkg/commands/tags.go
@@ -3,7 +3,7 @@ package commands
import "fmt"
func (c *GitCommand) CreateLightweightTag(tagName string, commitSha string) error {
- return c.RunCommand("git tag %s %s", tagName, commitSha)
+ return c.RunCommand("git tag -- %s %s", tagName, commitSha)
}
func (c *GitCommand) DeleteTag(tagName string) error {