-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Commit context menu items to create fixup, squash and another for autosquash #410
Comments
Hi @TMaYaD, Thanks for raising this feature request! This collection of related Git commands would definitely be nice to have in Git Graph. Based on past feature requests related to rebase operations, a very small portion of users have expressed interest in them (leading me to infer that the proportion of users performing rebases is surprisingly relatively small). This has meant that these existing feature requests have been prioritised lower than other feature requests that are used by a larger proportion of users. If you're another user who would like this feature request, please like the requestors first comment in this thread so I can gauge interest in this feature request. Allowing users to create custom context menu actions, that run a user specified Git command with some substitution variables for the target the user right-clicked on (e.g. commit hash, ref name etc.), is definitely possible. The limitation though is that it would be a significant amount of work (likely infeasible) if these custom context menu actions could trigger custom dialogs (so the user can modify arguments of the Git command), before running the Git command. This limitation might not be a problem though, as the user can configure the custom context menu actions to provide their preferred arguments by default. I'll definitely look into implementing this, as it might be a great solution for some of the lesser used Git command / argument combinations. |
I think GitKraken does this really well. The ability to right click on commits and squash the ones you want is super helpful |
No, I don't believe GitKraken currently offers this feature. This is really a useful feature. It would be great if u can have this feature too. |
Maybe the autosquash one should be a separate issue? I personally would use the |
The "fixup" part would be fantastic! Pycharm has it, and I used it quite a while when using pycharm :-) |
Describe the feature that you'd like
I want to be able to right click on a commit and select
fixup
orsquash
to run the equivalent of runninggit commit --<fixup/squash> <commit hash>
.I also want a context menu to run the equivalent of
git rebase -i --autosquash <commit hash>
.Additional context (optional)
It might be easier, if possible, to allow creating custom context commands.
The text was updated successfully, but these errors were encountered: