gitextensions icon indicating copy to clipboard operation
gitextensions copied to clipboard

Improve working directory context menu

Open TobiasSekan opened this issue 4 years ago • 6 comments
trafficstars

Feature description

Hello, it would be helpful when context menu for the working directory have more useful entries, like:

  • Reset changes
  • Commit changes

2021-07-03 12_27_13-solutionextension (main) - Git Extensions

Environment

  • Git Extensions 3.5.0.11713
  • Build 0a5ef9ca6ce87754a510aa02c7a96d8b915714ac (Dirty)
  • Git 2.29.0.windows.1 (recommended: 2.30.0 or later)
  • Microsoft Windows NT 10.0.19043.0
  • .NET Framework 4.8.4360.0
  • DPI 120dpi (125% scaling)

TobiasSekan avatar Jul 03 '21 10:07 TobiasSekan

Pull requests are welcome

RussKie avatar Jul 03 '21 10:07 RussKie

The omitted commands are removed for a reason: For instance, it is not possible to Reset to (artificial commit) worktree. There have been many iterations to get all aspects right there.

The feature request should be to add commands like Reset to HEAD similar to the commands for regular commits.

gerhardol avatar Jul 03 '21 23:07 gerhardol

A Reset command for the Working directory could be ambiguous. Because for regular commits, this command looks like "Reset to here".

But Commit command would be great. For Working directory and for Index context menu. And also Stage all command for Working directory.

EugeneF35 avatar Dec 18 '23 22:12 EugeneF35

And also Stage all command for Working directory.

You could just hit Ctrl+A, S or Ctrl+A, R for attempting a reset.

For commit, have a look at the screenshot. The button is not far away, Ctrl+space neither.

But for mouse-only operation, you could add context menu items...

Diff groups are clickable, too, for selecting all contained files.

mstv avatar Dec 18 '23 22:12 mstv

I know. But when people use GE for the first time, and not get used to shortcuts yet, they will use mouse. And also, placing commands in the "right" place helps better understand, what they do.

EugeneF35 avatar Dec 19 '23 18:12 EugeneF35

I know. But when people use GE for the first time, and not get used to shortcuts yet, they will use mouse. And also, placing commands in the "right" place helps better understand, what they do.

That's the first time I hear that new users are looking for a command in a contextual menu (instead of a visible button nearly in the middle of the screen). Most of the time, new users are more complaining that a feature is missing especially because it is only accessible through a contextual menu. Indeed it could make sense to have it from here but I would say that nearly no-one will get it from here...

pmiossec avatar Dec 19 '23 20:12 pmiossec