Answer the question
In order to leave comments, you need to log in
What is the best way to update the boilerplate of the current project?
For example, I created and configured `webpack-vue-boilerplate` for myself, pushed it into a git repository, based on it I created more than one project with separate repositories. There is an update of some kind of dependency, I bring in my features, optimizations... how should I update the boilerplate in the project, maybe it's in another repository?
Answer the question
In order to leave comments, you need to log in
What is the problem? Update the webpack-vue-boilerplate repository. You rebuild the rest of the projects while running the webpack-vue-boilerplate changes
So far, I have come to the conclusion that you need to add the boilerplate as the 2nd remote and pull merge from it.
The first time he will swear at the desynchronization of history and will need to apply --allow-unrelated-histories
. In subsequent times, merge takes place in the normal mode.
UPD: I'm creating a *-boilerplate repository with the "boilerplate" master branch. When I need to create a project based on this template, I copy *-boilerplate and from the "boilerplate" branch I create a new "master" branch. And for the master, I add another origin where I will push. If updates are needed, I merge from boilerplate to master.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question