11 lines
266 B
Bash
Executable file
11 lines
266 B
Bash
Executable file
#!/bin/bash
|
|
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";
|