diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2025-10-11 21:05:56 -0400 |
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-10-11 21:05:56 -0400 |
| commit | 1c9da2f75a1c6be46c53f359c3f6c60048b933fc (patch) | |
| tree | 5ffcf5e74d53edf679cca7485a7b7ba7a439ff34 /init | |
| parent | 76e32cd3267c2036b11e3b7aa68424c4ee4d5296 (diff) | |
add desc and customize scripts
Diffstat (limited to 'init')
| -rwxr-xr-x | init | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -6,7 +6,7 @@ if [ $# -ne 1 ]; then fi base_dir="$HOME" -new_repo="$1" +new_repo="${base_dir}/$1" case $new_repo in *\.git) @@ -21,6 +21,6 @@ if [ -d "$new_repo" ]; then exit 1 fi -mkdir "$base_dir/$new_repo" -git init --bare "$base_dir/$new_repo" >/dev/null 2>&1\ +mkdir "$new_repo" +git init --bare "$new_repo" >/dev/null 2>&1\ && echo "Initialized empty Git repository: git@$(uname -n):$new_repo" |
