Skip to content

Feature: Git integration #11014

Closed
Closed
@yaira2

Description

@yaira2

What feature or improvement do you think would benefit Files?

Integration with git is something that may add value for developers. We're inviting the open-source community to share feedback on which git features they would find useful in a file manager and how it would enhance their workflow. Design concepts are welcome as well.

Requirements

Phase 1 (implemented)

  • Display the branch name in the status bar, this will let the user know which branch is active.

Phase 2 (implemented)

  • Support for switching between local branches (this can be a simple flyout with a list view)
    • Display content dialog if there are uncommitted changes and ask user if they want to take the changes.
    • Display content dialog if there are uncommitted changes that can't be taken to the other branch and ask the user if they want to stash them.

Phase 3 (implemented)

  • Support for checking out remote branches.
  • Support for creating new branches, the button is already implemented in the UI. Clicking the new branch button should open a content dialog that allows the user to enter the branch name.

Phase 4 (implemented)

  • Support for pulling remote changes
  • Indicate on the status bar when there are remote commits

Future planning

  • Indicate on the status bar when there are uncommitted changes
  • Support for committing and pushing changes (what's the best way to display the list of changes?)
  • Support for searching local branches

Files Version

v2.4.21

Windows Version

Windows 11

Comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions