Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# a simple script to uninstall ossec (tested on debian)
# Author: Han The Thanh <h a n t h e t h a n h @ g m a i l . c o m>
# Public domain.
# this script has been tested on debian; it should also work on other linux
# systems but I have not tested. If you want to be careful and need to see what
# would be done without executing any real action, uncomment the following line:
# dryrun="echo "
@l0neranger
l0neranger / git-del.sh
Created September 4, 2015 23:15
Delete Local and Remote Git tags/branches
#
# Local
#
git tag -d TAG_NAME
git branch -d BRANCH_NAME
#
# Remote
#
git push origin :TAG_NAME