Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • TortoiseGit TortoiseGit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 382
    • Issues 382
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGitTortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #3470
Closed
Open
Issue created Nov 21, 2019 by Dan Stevens@DanStevens1

Be able to switch branch from the Sync dialog

I find the Sync dialog very useful. I use it most frequently for pushing and pulling changes. I don't realise I'm on the incorrect branch, so I have to close the dialog and switch branch using the `Switch/Checkout' dialog then open the Sync dialog again. I think what would make it even more useful if the user can quickly switch branch from this dialog.

There is already a 'Local Branch' drop-down menu, but if I change it's value and then click Pull I get the error Pull requires the selected local branch to be the current branch. Why not ask the user if they want to the switch branch instead? Alternatively, why not change the Pull button to Switch and Pull if the selected branch isn't the current branch? In this state, the button would switch to the selected branch, and if it succeeds without error, then performs a pull.

I'm open to other options as long as if I want to pull from a different branch I can easily switch branch without have to open a different dialog.

Edited Dec 03, 2019 by Sven Strickroth
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking