Skip to content

Instantly share code, notes, and snippets.

View sscarduzio's full-sized avatar

Simone Scarduzio sscarduzio

View GitHub Profile
@sscarduzio
sscarduzio / git-tag-delete-local-and-remote.sh
Last active May 13, 2020 10:45 — forked from mobilemind/git-tag-delete-local-and-remote.sh
How to delete multiple git tags locally and remote
# Usage: ./git-tag-delete-local-and-remote.sh 1.19
# will delete tags: "1.19.1" "1.19.2" "1.19.3" ...
for i in `git tag|grep $1`
do
git push --delete origin "$i"
git tag -d "$i"
done
@sscarduzio
sscarduzio / sbtmkdirs.sh
Last active July 13, 2016 12:48 — forked from alvinj/sbtmkdirs.sh
A shell script to create an SBT project directory structure
#!/bin/bash
#------------------------------------------------------------------------------
# Name: sbtmkdirs
# Purpose: Create an SBT project directory structure with a few simple options.
# Author: Alvin Alexander, http://alvinalexander.com
# Info: http://alvinalexander.com/sbtmkdirs
# License: Creative Commons Attribution-ShareAlike 2.5 Generic
# http://creativecommons.org/licenses/by-sa/2.5/
#------------------------------------------------------------------------------