Fix gitflow
initialization for arch
This commit is contained in:
parent
62fcc3f83e
commit
14b28f70f5
1 changed files with 10 additions and 2 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue