- From: Bryan Berry <
>
- To:
- Subject: [chef] How to push to upstream cookbook-vendor branch?
- Date: Sat, 15 Oct 2011 20:42:48 +0200
I am trying to figure out how to "vendor branch" technique to push my changes upstream cookbook.
Here is the workflow that I have in mind
$ knife cookbook site install <cookbook>
$ vim cookbooks/<cookbook> #make changes
$ git checkout <cookbook>-vendor
$ git checkout master path/to/modified-cookbook
$ git commit -am 'merging select files into vendor-branch'
However, when I do $ git checkout chef-<cookbook>-vendor && git ls-files
git seems to be tracking everything in this branch, not just the files for the cookbook.
The only other alternative I see is to track down the source of cookbook, fork it, create a patch from my code, apply it to my fork, send a pull request.
- [chef] How to push to upstream cookbook-vendor branch?, Bryan Berry, 10/15/2011
Archive powered by MHonArc 2.6.16.