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

Allow branch specific fetching / (pulling updates into a branch without switching to it)

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • Git
    • 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.

    Description

      This would be especially useful with Git Flow. If you're working on a feature branch, and want to finish the feature and merge back to develop, there's a high chance that someone has made changes to the develop branch, which means your develop branch is out of date. To be able to finish the feature, you'd have to switch to develop, pull from the origin, switch back to the feature branch, and then then finish the feature.

      It would be much better if you could just make your develop branch pull the latest updates without having to switch back and forth to it. Luckily, it's very trivial to do with git. Just run a fetch command!

      > git fetch origin develop:develop
      

      This would fetch the latest changes from origin's develop into your own.

      Ideally, the git flow commands should do that automatically (or better yet - present a prompt for that), but I'd love it if I had a "Fetch from origin" option in the context menu of a branch as well!

      Attachments

        Activity

          People

            Unassigned Unassigned
            8a03aa932eb8 Artiom Chilaru
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 0.25h
                0.25h
                Remaining:
                Remaining Estimate - 0.25h
                0.25h
                Logged:
                Time Spent - Not Specified
                Not Specified