Closed ActionAnalytics closed 5 years ago
A script to automate the rebasing of all the project repos.
It is designed to stop and warn if it finds local changes that haven't been committed yet, or if a repo hasn't been cloned locally.
Call it locally in bash from the directory it is in like so: ./rebase_all_CAP_repos_from_EPIC.sh daveram ~/my-local-git-base-folder/
Where: ~/my-local-git-base-folder/cap-eagle-api ~/my-local-git-base-folder/cap-eagle-admin ~/my-local-git-base-folder/cap-eagle-public ~/my-local-git-base-folder/cap-eagle-dev-guides ~/my-local-git-base-folder/cap-eagle-helper-pods
We shouldn't be worrying about git flow when we can just automate it.
Slept on it, came up with a safer approach
A script to automate the rebasing of all the project repos.
It is designed to stop and warn if it finds local changes that haven't been committed yet, or if a repo hasn't been cloned locally.
Call it locally in bash from the directory it is in like so: ./rebase_all_CAP_repos_from_EPIC.sh daveram ~/my-local-git-base-folder/
Where: ~/my-local-git-base-folder/cap-eagle-api ~/my-local-git-base-folder/cap-eagle-admin ~/my-local-git-base-folder/cap-eagle-public ~/my-local-git-base-folder/cap-eagle-dev-guides ~/my-local-git-base-folder/cap-eagle-helper-pods
We shouldn't be worrying about git flow when we can just automate it.