Reputation: 3902
I am using a javascript library called marked. I made a few small changes to the code to customize something (I wanted __
this__
to underline stuff instead of bolding it).
What is the best way to deal with the issue of keeping the library up-to-date in my project over time? It may be a hassle to manually add my change every time I update.
Upvotes: 0
Views: 91
Reputation: 142
I would make a branch of marked for your changes. this would be where you could put your customizations. then when the marked library is updated and you are ready to integrate their changes into yours you would migrate their changes into your branch and merge their code into yours. if they ever manage to fix the thing that you made you changes for, then you can always switch to the main branch.
Upvotes: 2