jesseduffield / jesseduffield/lazygit

Stacked branches

Open
#4,817 6 comments 0 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.**
Yes, when working with stacked branches, I sometimes need to create a new commit. According to the stacked branches YT video it's only possible to create empty commits and then amend to them.

**Describe the solution you'd like**
A way of creating new commits to branch1. Meaning I'm going into the interactive rebase on the latest commit of the branch and then being able to create a new commit and directly inject the files into the commit.

**Describe alternatives you've considered**
Creating an empty commit with a shortcut while bein in an interactive rebase, then exiting the rebase and amend to the commit. But it's a bit tedious.

For me it would make it way easier/nicer to work with stacked branches, because I sometimes need to add an additional feature to branch1. The normal way was to checkout branch1, add the commit, then checkout branch2 and rebase it again onto branch1.

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.