Remove unnecessary file
This commit is contained in:
parent
7c4ffba421
commit
1e981ed2d7
2 changed files with 8 additions and 9 deletions
|
@ -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;
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue