Search code examples
gitnpmyeomanyeoman-generator-angular

Use yeomen generator branch locally


I'm using https://github.com/DaftMonk/generator-angular-fullstack locally, but I would like the generator to use a branch of that project.

So I have installed it using

npm install -g generator-angular-fullstack

1) What would be the next steps if I would like to use the canary branch of that project and continue to use it as if I was using the master branch?

2) If the branch gets merged into the master branch, what would I need to do then?

Thx


Solution

    1. If you wish to use canary branch you need to checkout this branch.

    git checkout -b canary

    1. Once you merge it you can delete it or continue to work on it and merge it again several times as your on going work.