Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Pruning local branches and prune on fetching #1663

Closed
Assignees
Labels
already-doneThis feature already exists
@Doodeletion

Description

I have recently changed my workflow to be more branching-heavy and have noticed that I have to delete a lot of branches manually. As far as I know, SourceGit currently only provides pruning in the context menu of a remote (using git remote prune). It would be nice if SourceGit provided more options to prune branches.

  • (削除) prune when fetching (削除ここまで)
  • prune local branches
    • this could be added to the context menu of local branches
    • remove all local branches that used to track a remote but that remote has been deleted (effectively: clean up the left-over local copies of deleted remote branches)
    • apparently there is no git command to do this
    • SourceGit already displays a warning icon for local branches whose remote has been deleted, all of those branches could be iterated and deleted separately (using git -D <branch>)

Metadata

Metadata

Labels

already-doneThis feature already exists

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /