diff --git a/scripts/Common/Config/git/flow/config.sh b/scripts/Common/Config/git/flow/config.sh deleted file mode 100644 index 3f276805..00000000 --- a/scripts/Common/Config/git/flow/config.sh +++ /dev/null @@ -1,8 +0,0 @@ -git init; -git commit --allow-empty -m "Initial commit" > /dev/null; -git branch master || true; -git branch main || true; -git branch dev || true; -yes "" | git flow init > /dev/null 2>&1; -git flow config set --global master main > /dev/null; -git flow config set --global develop dev > /dev/null; diff --git a/scripts/Common/Config/git/flow/install.sh b/scripts/Common/Config/git/flow/install.sh index 6ca0ced7..7418f336 100755 --- a/scripts/Common/Config/git/flow/install.sh +++ b/scripts/Common/Config/git/flow/install.sh @@ -1,6 +1,13 @@ #!/bin/bash contextRoot="$(mktemp -d)"; pushd "$contextRoot" > /dev/null; -. "${BASH_SOURCE%/*}/config.sh"; +git init; +git commit --allow-empty -m "Initial commit" > /dev/null; +git branch master || true; +git branch main || true; +git branch dev || true; +yes "" | git flow init > /dev/null 2>&1; +git flow config set --global master main > /dev/null; +git flow config set --global develop dev > /dev/null; popd > /dev/null; rm -rf "$contextRoot";