Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Bash
Posted by: Dmitriy Lanets
Added: Mar 23, 2018 10:40 AM
Modified: Nov 28, 2018 7:45 AM
Views: 37
Tags: git
  1. сперва на сервере:
  2. git tag | grep "v2\.16.*" | grep -v "v2\.16\.54" | xargs git push origin -d
  3.  
  4. затем локально:
  5.  git tag | grep "v2\.16.*" | grep -v "v2\.16\.54" | xargs -n 1 git tag -d