Skip to content

Feature request: show an overview of the stack with sync info #6073

@cannonpalms

Description

@cannonpalms

I would love to have a command that shows me an overview of the stack with information about how synced or out-of-sync the stack is. The most crude version of this would be the output of git-town branch + a simple asterisk/indicator on branches that are out of sync. Taking it one step further, we might devise a way to show something akin to N commits ahead, M commits behind from git status. Two signals seem valuable:

  1. Is my stack synced with the remote base?
  2. How out of sync (+/- commits, etc.) is my stack with the remote base?
  3. Is my stack synced with itself (internally in-sync)
  4. How out of sync (+/- commits, etc.) is my stack with itself?

I don't think this feature exists yet, and I did a cursory search of open issues and didn't find anything similar (but I very easily could have missed both!).


Example

Perhaps something like this would be a cool start? You could add other useful info I am sure, (maybe head/tail commit SHAs).

main
  ╰─ feature1a (0 commits ahead, 2 behind)
    ╰─ feature1b (5 commits ahead, 1 behind)
*     ╰─ feature1c (1 commit ahead, 3 behind)
  ╰─ feature2a (0 commits ahead, 2 behind)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions