diff options
author | Jake Scott <scottj@sou.edu> | 2020-11-22 11:34:27 -0800 |
---|---|---|
committer | Jake Scott <scottj@sou.edu> | 2020-11-22 11:34:27 -0800 |
commit | f62aaeafd30deb10ee8d6d39a0fac2cded4867ec (patch) | |
tree | 749d53e4eb14200acb9dad970b7a93796aed9bbb | |
parent | c5c0e2b72412b619b967a76877cfacaae64f79cd (diff) |
custom output for init
-rwxr-xr-x | init | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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" |