git-gone

Crates.iogit-gone
lib.rsgit-gone
version1.3.1
created_at2018-09-23 14:03:26.563887+00
updated_at2025-08-01 08:59:11.535157+00
descriptionManage "gone" Git branches
homepagehttps://codeberg.org/swsnr/git-gone
repositoryhttps://codeberg.org/swsnr/git-gone.git
max_upload_size
id86148
size61,900
(swsnr)

documentation

README

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

Commit count: 0

cargo fmt