0

Standard window, Local files perspective : commit to a new branch

pgoiffon 2 years ago 0

Sometimes I just begin to code a simple modification on the main branch.

Then I get back to Smartgit, and then I need to :

  1. create a branch,
  2. commit,
  3. create a new pull request

With the new standard window, after switching to Smartgit I get redirected automatically in the "Local files" perspective.

The current branch is displayed just above the commit window... but it's easy to miss...

If I want to create a new branch I need to the History perspective, create a new branch, switch back to the Local files perspective... Not very convenient !

Ideally, I would love to be able to specify a new branch name and commit all at once.

Maybe simply add a new option in the commit window, just aside the "commit to: <branch>" label, a "new branch" button that would open a textfield where you would wrote the branch name ? Then fill the commit message and click on the commit button and boom, Smartgit automatically creates and checkout the branch, and then commit ?

Or more simply get a new branch button in the Local files perspective ?