change variable to RESET_BRANCHES
This commit is contained in:
parent
64c2ba225a
commit
59a285cd86
2
stack.sh
2
stack.sh
@ -297,7 +297,7 @@ function git_clone {
|
|||||||
cd $2
|
cd $2
|
||||||
# This checkout syntax works for both branches and tags
|
# This checkout syntax works for both branches and tags
|
||||||
git checkout $3
|
git checkout $3
|
||||||
elif [[ "$RECLONE" == "yes" ]]; then
|
elif [[ "$RESET_BRANCHES" == "yes" ]]; then
|
||||||
cd $2
|
cd $2
|
||||||
git remote set-url origin $1
|
git remote set-url origin $1
|
||||||
git fetch origin
|
git fetch origin
|
||||||
|
Loading…
Reference in New Issue
Block a user