1
4
Fork
You've already forked git-gone
0
Cleanup stale Git branches of pull requests https://crates.io/crates/git-gone
  • Rust 100%
Sebastian Wiesner e82f6761e7
All checks were successful
/ test (push) Successful in 3m14s
Use dedicated rust-enabled base image
2026年06月21日 13:01:29 +02:00
.forgejo/workflows Use dedicated rust-enabled base image 2026年06月21日 13:01:29 +02:00
src Remove unused anyhow dependency 2026年06月12日 10:32:03 +02:00
.gitignore Replace release workflow with justfile 2025年05月02日 14:45:06 +02:00
Cargo.lock Remove unused anyhow dependency 2026年06月12日 10:32:03 +02:00
Cargo.toml Remove outdated comment 2026年06月12日 10:32:59 +02:00
LICENSE Change license to EUPL 2025年05月20日 21:31:13 +02:00
README.md Change license to EUPL 2025年05月20日 21:31:13 +02:00

git-gone

List and prune "gone" git branches.

A "gone" branch is a local Git branch whose upstream branch no longer exist. This frequently occurs in a pull request workflow:

  1. You create a local branch, push it and create a pull request.
  2. A reviewer merges the pull request and deletes the branch on the server.
  3. Your local branch still lingers in your clone.

Over time and after many pull request you accumulate many of these branches which reference long-merged pull requests and serve no further purpose.

git gone can list these branches and also prune them from your clone.

See https://eed3si9n.com/git-gone-cleaning-stale-local-branches/.

Usage

git gone --help

Installation

License

Copyright 2018-2025 Sebastian Wiesner sebastian@swsnr.de

Licensed under the EUPL, see https://interoperable-europe.ec.europa.eu/collection/eupl/eupl-text-eupl-12