jesseduffield / jesseduffield/lazygit

Add `exec` to rebase interactive

Open
#4,055 0 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

**Is your feature request related to a problem? Please describe.**
Sometimes i need to do a change in some past commit (or in several commits) during an interactive rebase With `git rebase --interactive` i have the oportunity to insert some `exec` commands between picks, squashes, etc. so those changes are applied

**Describe the solution you'd like**
Being able to add press a key, say `x` and insert a command and `exec` it on the selected commits similar to the interactive git rebase

**Describe alternatives you've considered**
Maybe this feature could be implemented as a custom shortcut, but i don't have enough knowledge about lazygit shortcuts customization to try it myself

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.