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

    • 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.

            [SRCTREEWIN-14439] Checkout git branch that already exist locally should give an option to pull instead of showing an error

            LazaroCode added a comment -

            LazaroCode added a comment - Here are the 2 images (in order): https://www.imghippo.com/i/C56L81714379637.png   https://www.imghippo.com/i/zDcqy1714379621.png

            Hi 4027ba81cb1b 
            Please upload the images to google drive or some other website and share the link.

            Mukesh Kumar added a comment - Hi 4027ba81cb1b   Please upload the images to google drive or some other website and share the link.

            The image attachments didn't work, let me try again to add them in this comment, the 2 images respectively:

             

            LazaroCode added a comment - The image attachments didn't work, let me try again to add them in this comment, the 2 images respectively:  

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

                Created:
                Updated: