Skip to content

First-Class View for Reflog #21

@pvanb

Description

@pvanb

Problem description

git reflog provides valuable information about the repository's history and provides an important means to recover from mistakes or see how the repository got to its current state. It would be of great benefit to have this information presented in a manner that clearly identifies checkouts, vs merges, vs pulls, etc. and provides the ability to act on them or to drill into details.

Preferred solution

Executing the command (either via command palette or a direct link in the sidebar at the level of BRANCHES, REMOTES, etc) would list the reflog history similar to how commits are listed when selecting a branch. Selecting an entry in the reflog would show the changeset details in the right-most pane. Context menus on the reflog entries would show any commands that are appropriate and available.

Alternatives

It is currently possible to add a custom command to the palette whose output is visible by clicking the icon in the left of the info bar. This output is plaintext which makes it more difficult to parse visually and is not interactive at all.

Screenshots

Here is an example of how this feature is presented in Tower:

reflog

(source: https://www.git-tower.com/help/mac/commit-history/reflog)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions