diff options
author | Stefan Haller <stefan@haller-berlin.de> | 2024-02-21 09:57:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-21 09:57:31 +0100 |
commit | 329b4349156d290b9ad2ea95ac86c382c362b28f (patch) | |
tree | 947147e8d72a911ec0191d8383fa27befba25ad1 /pkg/gui/controllers/filtering_menu_action.go | |
parent | b0f3bb7a9ab4390a507f0f0b5b46c1d9b9667272 (diff) | |
parent | 9362aede8f3816bb500feaa4473d90d7bf8883ee (diff) |
Change "git reset" default to --mixed (#3264)
Calling "git reset" on the command line (without further arguments)
defaults to --mixed, which is reason enough to make it the default for
us, too.
But I also find myself using --mixed more often than --soft. The main
use case for me is that I made a bunch of WIP commits, and want to turn
them into real commits when I'm done hacking. I select the last commit
before the WIP commits and reset to it, leaving all changes of all those
commits in the working directory. Since I want to start staging things
from there, I prefer those modifications to be unstaged at that point,
which is what --mixed does.
Diffstat (limited to 'pkg/gui/controllers/filtering_menu_action.go')
0 files changed, 0 insertions, 0 deletions