What is the proper git workflow for basing a project off a 'seed' repo?

后端 未结 5 644
渐次进展
渐次进展 2020-12-25 14:03

As an example: suppose you have a personal project like Angular Seed (which is a starting point for an Angular project https://github.com/angular/angular-seed).

Now

5条回答
  •  执念已碎
    2020-12-25 14:58

    I think the right answer here is to use something like Yeoman Generators. (http://yeoman.io/) You want to use the git repo with your seed project as a generator. It wouldn't allow you to continually pull in changes from the seed project though.

    The solution of using two remotes works, but eventually the projects will diverge enough that will make keeping those projects in synch very difficult.

提交回复
热议问题