Search code examples
gitsmartgit

SmartGit: How to set base branch when creating new branch?


I'm trying to migrate from TortoiseGit to SmartGit.

TG has quite clear interface for creating new brach: enter image description here

But in SmartGit I've found only "Branch -> Add Branch" which shows quite poor dialog: enter image description here

I don't want to switch to some base branch every time I want create a new one. Is there a way to choose the base branch in SmartGit like in TG?


Solution

  • SmartGit's Add Branch command is for the very common use case of creating a branch just from your HEAD. If you want to create a branch on any other commit, just go to the Log, select the corresponding commit (you can Reveal a branch or tag there, use Edit|Filter Commits to filter for a certain log message, ...) and use Add Branch from the context menu.