2023-04-02 01:46:29 +00:00
|
|
|
#!/bin/bash
|
2023-04-04 10:25:01 +00:00
|
|
|
contextRoot="$(mktemp -d)";
|
|
|
|
pushd "$contextRoot" > /dev/null;
|
|
|
|
git init;
|
|
|
|
git branch main;
|
|
|
|
git branch dev;
|
|
|
|
yes "" | git flow init;
|
|
|
|
git flow config set --global master main;
|
|
|
|
git flow config set --global develop dev;
|
|
|
|
popd > /dev/null;
|
|
|
|
rm -rf "$contextRoot";
|