diff --git a/pkg/commands/git.go b/pkg/commands/git.go index 3d9cd7be6..588cec80e 100644 --- a/pkg/commands/git.go +++ b/pkg/commands/git.go @@ -563,7 +563,7 @@ func (c *GitCommand) ShowCmdStr(sha string) string { } func (c *GitCommand) GetBranchGraphCmdStr(branchName string) string { - return fmt.Sprintf("git log --graph --color=always --abbrev-commit --decorate --date=relative --pretty=medium %s", branchName) + return fmt.Sprintf("git log --graph --color=always --abbrev-commit --decorate --date=relative --pretty=medium %s --", branchName) } // GetRemoteURL returns current repo remote url