Skip to content

Instantly share code, notes, and snippets.

@dgyesbreghs
Created November 4, 2015 16:17
Show Gist options
  • Save dgyesbreghs/1a88c0ea8f908ab11f53 to your computer and use it in GitHub Desktop.
Save dgyesbreghs/1a88c0ea8f908ab11f53 to your computer and use it in GitHub Desktop.
git ls-remote --tags origin | awk '/^(.*)(\s+)(.*?)(Nightly_versiontwo_)(.*[0-9])$/ {print ":" $2}' | xargs git push origin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment