bcgov / cap-eagle-helper-pods

CAP fork of eagle-helper-pods
Apache License 2.0
0 stars 2 forks source link

Rebase tool #5

Closed ActionAnalytics closed 5 years ago

ActionAnalytics commented 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.

ActionAnalytics commented 5 years ago

Slept on it, came up with a safer approach