Skip to content

Instantly share code, notes, and snippets.

View kronn's full-sized avatar

Matthias Viehweger kronn

View GitHub Profile
@okunishinishi
okunishinishi / Remove all git tags
Created March 8, 2014 03:12
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
@niklas
niklas / fetch_facts.sh
Created October 23, 2012 18:57
Fetch facter facts from a remote host and convert to be used in cucumber-puppet
#!/bin/bash
host=$1
if [ -z "$host" ]; then
echo "please provide hostname for node to fetch facts from"
exit
fi
file="features/nodes/$host.yaml"