Skip to content

GitPrune

Damian edited this page Apr 3, 2020 · 1 revision

Fetch and prune your repository.

The optional sync feature is currently experimental.

Usage

Fetch latest with Pruning

GitPrune          ; Fetch and prune

Replaces:

git fetch -p

Prune and Delete Local Branches

WARNING: This is an experimental feature

This allows you to remove local branches that are longer on the remote. Do note, if you didn't push your new branch yet, it will delete it.

GitPrune -sync

Replaces:

git branch
(review results)
git branch -D BranchName1
git branch -D BranchName2
git branch -D BranchName3
...