commit 316344f1b20ae57af84562ae1fc32fa7c9d170a6
parent 6de9559933df7621ed57b96a790c3c9149268e07
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 17 Apr 2020 10:08:39 +0200
Add function for creating git repository
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/.profile b/.profile
@@ -59,6 +59,13 @@ alias ll='l -l'
alias lo='l -alo'
alias dot="git --git-dir=\$HOME/.dotfiles/ --work-tree=\$HOME"
+create-repo() {
+ if [ $# -lt 1 ]; then
+ printf 'usage: create-repo name\n' >&2
+ return 1
+ fi
+ ssh git@adamsgaard.dk "./create-repo.sh ${1}"
+}
alias m='make'
alias mc='make clean'