Skip to content

Instantly share code, notes, and snippets.

@tobiasl-sportsbet
tobiasl-sportsbet / git-tag-delete-local-and-remote.sh
Created March 10, 2020 04:13 — forked from mobilemind/git-tag-delete-local-and-remote.sh
how to delete a git tag locally and remote
# delete local tag '12345'
git tag -d 12345
# delete remote tag '12345' (eg, GitHub version too)
git push origin :refs/tags/12345
# alternative approach
git push --delete origin tagName
git tag -d tagName
@tobiasl-sportsbet
tobiasl-sportsbet / Remove all git tags
Created March 10, 2020 04:13 — forked from okunishinishi/Remove all git tags
Delete all git remote tags
#Delete local tags.
git tag -l | xargs git tag -d
#Fetch remote tags.
git fetch
#Delete remote tags.
git tag -l | xargs -n 1 git push --delete origin
#Delete local tasg.
git tag -l | xargs git tag -d
const { log } = console;
function* initTrampolineManager() {
let aPrime = undefined;
let count = 0;
const trackChain = () => {
count++;
return () => {
count--;
if (count <= 0) {