From 693588b8350b1a1c0091c656c73a7e2c1a9916f1 Mon Sep 17 00:00:00 2001 From: Timothy Place Date: Sun, 30 Aug 2015 09:47:58 -0500 Subject: [PATCH] script/cleanup: run this script to clean up orphan branches and tags in your working copy. --- JamomaCore | 2 +- script/cleanup.sh | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100755 script/cleanup.sh diff --git a/JamomaCore b/JamomaCore index 30b26896..da5192c7 160000 --- a/JamomaCore +++ b/JamomaCore @@ -1 +1 @@ -Subproject commit 30b26896baee7f8e9a813c265561e29307186a4d +Subproject commit da5192c79261329f4a58c85ea1039f6f29525a96 diff --git a/script/cleanup.sh b/script/cleanup.sh new file mode 100755 index 00000000..367d4342 --- /dev/null +++ b/script/cleanup.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +# Clean-up detritus from Git and resync with the master repository. + +# 1. Branches +git remote prune origin + +# 2. Tags +git tag -l | xargs git tag -d && git fetch -t