summaryrefslogtreecommitdiffstats
path: root/uploadNewGit.sh
blob: 10c61c7c4a073c66608b37ae07fab7a6bf6966ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

gitdir="$(pwd)"
gitdir="$(readlink -f '$gitdir')

description="$1"

if [ ! -d $gitdir/.git ]; then
	echo Not a git repo.
	exit 1;
fi