Skip to content

Commit

Permalink
Script to refresh tags from origin (useful after a big rebase of master)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgriff committed May 15, 2020
1 parent a409f79 commit 6037f94
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions git-refresh-all-tags-from-origin.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
rm ./.git/refs/tags/Build_*
rm ./.git/refs/tags/Dev-*
rm ./.git/refs/tags/Test-*
rm ./.git/refs/tags/PreProd-*
rm ./.git/refs/tags/Prod-Release-*

echo "Now do a 'git fetch --tags' to get your tags back"
echo ""

read -n 1 -p "Press Enter to finish:" unused

0 comments on commit 6037f94

Please sign in to comment.