Silence output during gitflow init

This commit is contained in:
Manuel Thalmann 2023-04-04 14:04:58 +02:00
parent ddf298e19f
commit 58892d1de2

View file

@ -2,11 +2,11 @@
contextRoot="$(mktemp -d)"; contextRoot="$(mktemp -d)";
pushd "$contextRoot" > /dev/null; pushd "$contextRoot" > /dev/null;
git init; git init;
git commit --allow-empty -m "Initial commit"; git commit --allow-empty -m "Initial commit" > /dev/null;
git branch main; git branch main;
git branch dev; git branch dev;
yes "" | git flow init; yes "" | git flow init > /dev/null 2>&1;
git flow config set --global master main; git flow config set --global master main > /dev/null;
git flow config set --global develop dev; git flow config set --global develop dev > /dev/null;
popd > /dev/null; popd > /dev/null;
rm -rf "$contextRoot"; rm -rf "$contextRoot";