Skip to content

Feature Request: Add Branch Deletion Functionality #2

@superkraft388

Description

@superkraft388

Feature Request: Add Branch Deletion Functionality

Currently, the gitfluent library allows users to create and merge branches but does not provide a mechanism to delete branches after merging or when they are no longer needed. Adding a feature to delete a branch would enhance usability and better align with standard Git workflows.

Proposed Implementation

  • Introduce a new command such as gitfluent delete <branch-name> which would handle the deletion of the specified branch.
  • Ensure that the command verifies if the branch can be safely deleted (i.e., it has been merged).

Benefits

  • Reduces clutter in the repository by allowing users to clean up branches.
  • Aligns the functionality of gitfluent closer to typical Git management practices, making it more intuitive for users.

I believe this feature could significantly improve the user experience and streamline workflows. Looking forward to your thoughts!

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