Fix gitflow initialization for arch

This commit is contained in:
Manuel Thalmann 2023-04-04 12:25:01 +02:00
parent a1baf44efe
commit 4ec1791698

View file

@ -1,3 +1,11 @@
#!/bin/bash
git flow config set --global master main
git flow config set --global develop dev
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";