diff --git a/scripts/Common/Config/git/flow/install.sh b/scripts/Common/Config/git/flow/install.sh index c971df75..f01f1e3d 100755 --- a/scripts/Common/Config/git/flow/install.sh +++ b/scripts/Common/Config/git/flow/install.sh @@ -1,3 +1,11 @@ #!/bin/bash -git flow config set --global master main -git flow config set --global develop dev +contextRoot="$(mktemp -d)"; +pushd "$contextRoot" > /dev/null; +git init; +git branch main; +git branch dev; +yes "" | git flow init; +git flow config set --global master main; +git flow config set --global develop dev; +popd > /dev/null; +rm -rf "$contextRoot";