diff --git a/commands/browse.go b/commands/browse.go index db2e51e1b4e3a87d458caf1b37ea2a967cd68952..93ab8de55115b4ccfa56d60666ccd1b81d79020a 100644 --- a/commands/browse.go +++ b/commands/browse.go @@ -77,7 +77,9 @@ func browse(command *Command, args *Args) { utils.Check(err) } else { currentBranch, err := localRepo.CurrentBranch() - utils.Check(err) + if err != nil { + currentBranch = localRepo.MasterBranch() + } branch, project, _ = localRepo.RemoteBranchAndProject("", currentBranch.IsMaster()) if branch == nil {