Fix gitflow initialization for arch

This commit is contained in:
Manuel Thalmann 2023-04-04 12:25:01 +02:00
parent 62fcc3f83e
commit 14b28f70f5

View file

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