Remove unnecessary file

This commit is contained in:
Manuel Thalmann 2023-06-22 21:08:48 +02:00
parent f37db11c13
commit 2e4e98102d
2 changed files with 8 additions and 9 deletions

View file

@ -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;

View file

@ -1,6 +1,13 @@
#!/bin/bash #!/bin/bash
contextRoot="$(mktemp -d)"; contextRoot="$(mktemp -d)";
pushd "$contextRoot" > /dev/null; 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; popd > /dev/null;
rm -rf "$contextRoot"; rm -rf "$contextRoot";