summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1e71fc2)
- Remove 4-second sleep
- Add console horizontal line
# arg2: repoDir
# arg3: remoteName
# arg4: branchName
# arg2: repoDir
# arg3: remoteName
# arg4: branchName
# Depends: checkURL() 0.0.2, yell(), Bash 5.0.3
# Ref/Attrib: [1]: Test for space-less alphanuemric string. https://unix.stackexchange.com/a/416120
# [2]: Test for argument count. https://stackoverflow.com/q/18568706
# Depends: checkURL() 0.0.2, yell(), Bash 5.0.3
# Ref/Attrib: [1]: Test for space-less alphanuemric string. https://unix.stackexchange.com/a/416120
# [2]: Test for argument count. https://stackoverflow.com/q/18568706
else
yell "STATUS:Already a git repository:$repoDir";
git status; git remote -v;
else
yell "STATUS:Already a git repository:$repoDir";
git status; git remote -v;
- yell "STATUS:Pausing 4 seconds..."; sleep 4;
fi;
yell "STATUS:Adding $repoURL as remote $remoteName";
git remote add "$remoteName" "$repoURL";
fi;
yell "STATUS:Adding $repoURL as remote $remoteName";
git remote add "$remoteName" "$repoURL";
unset repoURL repoDir remoteName branchName;
popd || exit 1;
#==END create and populate git repository==
unset repoURL repoDir remoteName branchName;
popd || exit 1;
#==END create and populate git repository==
+ yell "================================";
} # Init Git Repository
#===END Declare local script functions===
#==END Define script parameters==
} # Init Git Repository
#===END Declare local script functions===
#==END Define script parameters==