 
   newBranchThenSwitch: () ->
     b = ""
-    @suggestNewBranchName()
+    @suggestNewBranchName(true)
       .then (branch) ->
         b = branch
         git.createAndCheckoutBranch branch

          console.log branches, username
          return branches.filter (b) -> b != "master" && b!= "develop" && b.indexOf("/#{username}/") >= 0

    return branchesPromise.then (userBranches) ->
      months = userBranches
        .map (b) ->
          m = b.match branchRegex

      console.log branches, isRemote, isLocal, branch
      return isRemote && !isLocal

  suggestNewBranchName: (dontAskBitbucket) ->
    console.log "suggestNewBranchName"
    conf = @configuration.get()
    username = conf["username"]
    branches = null
    if dontAskBitbucket || !@isBitbucketRepo() # trust git
      branchesPromise = @getBranchesByUser(username)
    else
      bm = new BitBucketManager(conf.repoUsername, conf.password)
