From 697b7d76c96ef83c9ab07012e50d9d8e77fd1fd5 Mon Sep 17 00:00:00 2001 From: sportshead <32637656+sportshead@users.noreply.github.com> Date: Fri, 25 Dec 2020 10:51:46 +0800 Subject: [PATCH] add prune command --- Custom-Commands-Compendium.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Custom-Commands-Compendium.md b/Custom-Commands-Compendium.md index d7e2f1c..b8f1eab 100644 --- a/Custom-Commands-Compendium.md +++ b/Custom-Commands-Compendium.md @@ -72,4 +72,15 @@ customCommands: context: "files" loadingText: "opening git mergetool" subprocess: true +``` + +## Pruning deleted remote branches + +```yml +customCommands: + - key: "" + command: "git remote prune {{.SelectedRemote.Name}}" + context: "remotes" + loadingText: "Pruning..." + description: "prune deleted remote branches" ``` \ No newline at end of file