I'm trying to figure out the best workflow for maintaining a local copy of a github-hosted project (moodle) with customizations, while maintaining the ability to keep our copy up-to-date. Tell me if what I'm thinking about doing is completely insane:
Does this make sense?
Yes, it makes sense. Although step #4 can be slightly simplified to git checkout master && git pull --ff-only upstream master
.
The --ff-only
ensures that you don't get any merge commits in your pristine copy.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With