Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-14439

Checkout git branch that already exist locally should give an option to pull instead of showing an error

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Git, UX
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      At the moment in SourceTree for Windows v3.4.17,
      Checking-out a git branch that already exist locally, shows an ugly red error that says:


      git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks checkout -b master --track origin/master
      fatal: a branch named 'master' already exists
      Completed with errors, see above.

      Please, instead of showing that error, show another dialog to allow the user to "checkout the existing local branch and pull changes",
      just like GitGraph tool for VS-Code does:

      This is a task that developers have to do everyday, to change from one branch to the "master" branch by clicking in the branch label shown in the Graph.

              698877135425 Mukesh Kumar
              4027ba81cb1b LazaroCode
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: