diff --git a/command/pr.go b/command/pr.go index 2f59934a7..6ffa56e8e 100644 --- a/command/pr.go +++ b/command/pr.go @@ -263,10 +263,7 @@ func prCheckout(cmd *cobra.Command, args []string) error { } ctx := contextForCommand(cmd) - currentBranch, err := ctx.Branch() - if err != nil { - return err - } + currentBranch, _ := ctx.Branch() remotes, err := ctx.Remotes() if err != nil { return err