summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJake Scott <scottj@sou.edu>2020-11-22 11:34:27 -0800
committerJake Scott <scottj@sou.edu>2020-11-22 11:34:27 -0800
commitf62aaeafd30deb10ee8d6d39a0fac2cded4867ec (patch)
tree749d53e4eb14200acb9dad970b7a93796aed9bbb
parentc5c0e2b72412b619b967a76877cfacaae64f79cd (diff)
custom output for init
-rwxr-xr-xinit3
1 files changed, 2 insertions, 1 deletions
diff --git a/init b/init
index da5243b..5d30974 100755
--- a/init
+++ b/init
@@ -22,4 +22,5 @@ if [ -d "$new_repo" ]; then
fi
mkdir "$base_dir/$new_repo"
-git init --bare "$base_dir/$new_repo"
+git init --bare "$base_dir/$new_repo" 2>&1>/dev/null \
+ && echo "Initialized empty Git repository: git@$(uname -n):$new_repo"