tj.git-extras/man/index.txt
Utsav Sabharwal e92878b81b
feat: add git-delete-gone-branches command (#1239)
* feat: add git-delete-gone-branches command

Adds a new command to delete local branches whose remote-tracking
branch has been deleted (shown as [gone] in git branch -vv).

This is a common need after PRs are merged and remote branches are
cleaned up, leaving stale local branches behind.

Features:
- Deletes all local branches with a gone remote in one command
- --dry-run / -n flag to preview branches before deletion

Closes #1220

* Address PR review feedback on git-delete-gone-branches

- Use git for-each-ref instead of git branch -vv to avoid false
  positives from commit messages containing ': gone]'
- Add interactive confirmation prompt by default; skip with -f/--force
- Add -p/--prune flag to run git fetch --prune before checking
- Add generated man page .1 and .html files

* Use GitHub profile for author contact in man page

* Fix gone-branch detection with nobracket format
2026-06-09 10:36:27 +08:00

80 lines
2.2 KiB
Plaintext

# manuals
git-abort(1) git-abort
git-alias(1) git-alias
git-archive-file(1) git-archive-file
git-authors(1) git-authors
git-browse-ci(1) git-browse-ci
git-browse(1) git-browse
git-brv(1) git-brv
git-bulk(1) git-bulk
git-changelog(1) git-changelog
git-clear-soft(1) git-clear-soft
git-clear(1) git-clear
git-coauthor(1) git-coauthor
git-commits-since(1) git-commits-since
git-continue(1) git-continue
git-contrib(1) git-contrib
git-count(1) git-count
git-cp(1) git-cp
git-create-branch(1) git-create-branch
git-delete-branch(1) git-delete-branch
git-delete-gone-branches(1) git-delete-gone-branches
git-delete-merged-branches(1) git-delete-merged-branches
git-delete-squashed-branches(1) git-delete-squashed-branches
git-delete-submodule(1) git-delete-submodule
git-delete-tag(1) git-delete-tag
git-delta(1) git-delta
git-effort(1) git-effort
git-extras(1) git-extras
git-feature(1) git-feature
git-force-clone(1) git-force-clone
git-fork(1) git-fork
git-fresh-branch(1) git-fresh-branch
git-get(1) git-get
git-gh-pages(1) git-gh-pages
git-graft(1) git-graft
git-guilt(1) git-guilt
git-ignore-io(1) git-ignore-io
git-ignore(1) git-ignore
git-info(1) git-info
git-local-commits(1) git-local-commits
git-lock(1) git-lock
git-locked(1) git-locked
git-magic(1) git-magic
git-merge-into(1) git-merge-into
git-merge-repo(1) git-merge-repo
git-missing(1) git-missing
git-mr(1) git-mr
git-obliterate(1) git-obliterate
git-paste(1) git-paste
git-pr(1) git-pr
git-psykorebase(1) git-psykorebase
git-pull-request(1) git-pull-request
git-reauthor(1) git-reauthor
git-rebase-patch(1) git-rebase-patch
git-release(1) git-release
git-rename-branch(1) git-rename-branch
git-rename-file(1) git-rename-file
git-rename-remote(1) git-rename-remote
git-rename-tag(1) git-rename-tag
git-repl(1) git-repl
git-reset-file(1) git-reset-file
git-root(1) git-root
git-scp(1) git-scp
git-sed(1) git-sed
git-setup(1) git-setup
git-show-merged-branches(1) git-show-merged-branches
git-show-tree(1) git-show-tree
git-show-unmerged-branches(1) git-show-unmerged-branches
git-squash(1) git-squash
git-stamp(1) git-stamp
git-standup(1) git-standup
git-summary(1) git-summary
git-sync(1) git-sync
git-touch(1) git-touch
git-undo(1) git-undo
git-unlock(1) git-unlock
git-unwip(1) git-unwip
git-utimes(1) git-utimes
git-wip(1) git-wip