Neurotic and Probably Misinformed
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    git-tree-maker-es5public

    Git Tree Maker

    Usage:

    var gitTreeMaker = require('git-tree-maker');
    var co = require('co');
    co(function *(){
      var dir = '/tmp/gittreepreview';
      var tree = {
        c1: {
          c2: {
            c5: {
              c6: {}
            },
            "c3.server": {
              c4: {
                c10: {}
              }
            },
            "c8.client": {
              c9: {}
            }
          }
        }
      }
      yield gitTreeMaker(dir, tree);
    })();

    /tmp/gittreepreview will now contain something like this tree

    same as http://git-scm.com/book/ch3-6.html#More-Interesting-Rebases

    command line usage

    npm install -g git-tree-maker
    git-tree-maker <dir> <tree>
    
    # git-tree-maker tester '{"c1":{"c2":{"c5":{"c6":{}},"c3.server":{"c4":{"c10":{}}},"c8.client":{"c9":{}}}}}'
    

    Or

    npm install git-tree-maker
    node_modules/.bin/git-tree-maker <dir> <tree>
    

    Keywords

    install

    npm i git-tree-maker-es5

    Downloadsweekly downloads

    24

    version

    0.0.10

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar