Remove unnecessary file

This commit is contained in:
Manuel Thalmann 2023-06-22 21:08:48 +02:00
parent 7c4ffba421
commit 1e981ed2d7
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
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";