When you have more than one repository you need to pull and setup to directed commit repeatedly
Script pulls list of your git components from file and checkout them to directed commits/branches
- Open pull.sh
- Uncomment git block and set your git_path and setup ssh/oauth tokens
- Create components.json with repo name as a key and commit as a value, empty string "" means master will be default
- Run script
- You can set main instead of master as default branch by changing script
- You can use any filetype to host
repo:commit
textfile, yamlfile, whatever you want and adopt script for parsing it - Also, you can use git submodules instead of this solution
sh pull.sh ./examples/components.json
Cheers!