You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
584 B
27 lines
584 B
7 years ago
|
# 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*
|
||
|
}
|