Silence output during gitflow init
This commit is contained in:
parent
ddf298e19f
commit
58892d1de2
1 changed files with 4 additions and 4 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue