jesseduffield / jesseduffield/lazygit

Show which branches have unmerged changes

Open
#1,147 3 comments 5 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.**

I use feature branches. Sometimes I work on one feature before switching to another. With lots of branches, I sometimes lose track of which branches still need work done, and which branches have already been merged and can be safely deleted.

**Describe the solution you'd like**

It would be nice if there was some indicator in the "Local Branches" pane for the branches that have not yet been merged into the branch that's currently checked out.

**Additional context**

I tried sketching out a patch [(WIP)](https://github.com/c2d7fa/lazygit), and came up with this:

![screenshot](https://user-images.githubusercontent.com/56928508/105547691-0e398a80-5cff-11eb-8ca4-a65eb9245bcb.png)

The deltas next to some branches indicate that the branch has not yet been merged into the checked out branch. Branches that don't have deltas have been merged and can be safely deleted.

I'd be happy to try and turn this into a proper pull request if this seems like a good fit for the project.

By the way, thanks for the great work! Lazygit is a really cool project!

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.