#!/bin/bash
# Desc: Initializes a git repository
+#==BEGIN Define script parameters==
+#===BEGIN Declare local script functions===
yell() { echo "$0: $*" >&2; } #o Yell, Die, Try Three-Fingered Claw technique
die() { yell "$*"; exit 111; } #o Ref/Attrib: https://stackoverflow.com/a/25515370
try() { "$@" || die "cannot $*"; } #o
popd || exit 1;
#==END create and populate git repository==
} # Init Git Repository
+#===END Declare local script functions===
+#==END Define script parameters==
-#==BEGIN test code
+#==BEGIN sample code
tmpDir=/tmp/"$(date +%Y%m%dT%H%M%S%z)";
mkdir -p "$tmpDir";
pushd "$tmpDir" || exit 1;
unset repoURL repoDir remoteName branchName;
yell "STATUS:Done.";
-#==END test code
+#==END sample code
+
+# Author: Steven Baltaktei Sandoval
+# License: GPLv3+