Gitlab Community Edition Instance

Commit 7cf4bb17 authored by Bjoern Nachtwey's avatar Bjoern Nachtwey
Browse files

initial coding, the hard way :-)

parent b96debfb
#! /bin/bash
set -x
##############################################################################
#
# cron/reset-git-copy.sh
#
# commands to fetch newest script version from git (and overwrite local changes)
#
# (C) 2021 GWD Göttingen, Bjørn Nachtwey
# mailto:bjoern.nachtwey@gwdg.de
#
##############################################################################
#
# changelog
# date version remark
# 2021-11-23 0.0.1 initial coding, the hard way :-)
#
##############################################################################
repo="TSM-Scripts"
basepath=/tsm/bin
# for further approaches
# if [ -d $basepath/$repo ]
#then # just update
# cd $basepath
# git reset --hard HEAD
#else # wipe & clone
rm -rf $basepath/$repo
cd $basepath
git clone https://gitlab.gwdg.de/bnachtw/$repo.git
# fi
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment