prati0100 / git-gui

Tcl/Tk based UI for Git. I am currently acting as the project's maintainer.
160 stars 87 forks source link

[gitk] [DX] Checking out remote branch with prefix removes the prefix, making push prone to mistakes #50

Open scscgit opened 3 years ago

scscgit commented 3 years ago

Steps to reproduce:

  1. Open gitk
  2. Check out a remote branch with a prefix that doesn't have a local branch created yet, e.g. remotes/origin/features/dx-matters
  3. Observe that a local branch was created with a name dx-matters
  4. Go back to Git GUI, commit any changes, and Push the branch
  5. The cluttered "Push Branches" window pre-selects the dx-matters source branch and selects Destination Repository of origin by default

Actual result:

Expected result:

And in general, please, let's all focus on improving the Developer Experience of the stupid content tracker that we all love. There's still so much unnecessary learning curve for new users, yet the UIs have still barely scratched the surface of use-cases beyond simple 'commit & push' :)