-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Break each replacement out of the update-content file and provide a system for writing more replacements #29
Conversation
fix: make help and arguments actually useful
fix: double quotes
Replacements
fix: keep default branch
Fix/replacements contract
Hey @tonygaetani, thanks for this, and sorry it's taken so long to be reviewed. There are a few small changes I'd like to make as there are changes in this PR (such as removing the default |
…ystem for writing more replacements (#29) Co-authored-by: Harrison Muskat <[email protected]>
We've used this repo at 6 River Systems to migrate our default branches to
main
which has been great! Thank you so much @mheap for doing the heavy lifting here with this script!We added a replacement for circleci, if there is no circleci file in the repo then nothing happens.
We also changed how replacements happen, and made an extensible system for adding new replacements.
I've also done a bunch of work writing bash scripts to automatically update local git repos on development machines, that has been done in our internal tooling but if there is interest I can share some of the code and the lessons I've learned here as well