Open swatchgame opened 1 year ago
There's no flag for specific git commands, but you can override it easily:
projects:
pinto:
path: frontend/pinto
url: https://github.com/alajmo/pinto
clone: git clone ${MANI_PROJECT_URL} --branch feat/switch-ui
dashgrid:
path: frontend/dashgrid/../dashgrid
url: https://github.com/alajmo/dashgrid
clone: git clone ${MANI_PROJECT_URL} --branch main
template-generator:
url: https://github.com/alajmo/template-generator
clone: git clone ${MANI_PROJECT_URL} --branch feat-replace
I might add some standard git options later on.
I want to pull different branches for different projects, but even if I change the env value in the mani.yaml file, it still pulls the master or main branch by default when I do a mani sync.