27 lines
584 B
Plaintext
Raw Normal View History

2017-10-25 01:42:30 +02:00
# Author: Alf Gaida <agaida@siduction.org>
# License: WTFPL-2
# 0. You just DO WHAT THE FUCK YOU WANT TO.
# Variables
# =========
# repository= your repository
# branch= your branch, if needed
# commit= your commit , if needed
# target_dir= target dir, if needed, default is snapshot
#
# Functions
# =========
# cleanup ()
repository="git@$domain.tld:$foo/$bar"
# cleanup function definiton
cleanup() {
echo ""
echo "┌─────────────┐"
echo "│ Cleanup ... │"
echo "└─────────────┘"
rm -rf .git*
}