We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b01967a commit 3295de1Copy full SHA for 3295de1
all-projects.sh
@@ -230,11 +230,13 @@ cloneFetch() {
230
(
231
if [[ ! -d ".git" ]]; then
232
printf "# %-30s - cloning...\n" "$repo"
233
+ rm -rf TMP_GIT
234
GIT_TERMINAL_PROMPT=0 git clone https://github.com/ModelingValueGroup/$repo.git TMP_GIT >/dev/null 2>&1 || :
- if [[ -d ".git" ]]; then
235
+ if [[ -d "TMP_GIT/.git" ]]; then
236
cp -R TMP_GIT/. .
237
rm -rf TMP_GIT
238
if [[ "$(listRemoteBranches | tr ' ' '\n' | egrep '^d$')" ]]; then
239
+ printf "# %-30s - switching to develop branch...\n" "$repo" 1>&2
240
git checkout develop >/dev/null 2>&1 || :
241
fi
242
0 commit comments