node-red-contrib-git-nodes

    0.2.2 • Public • Published

    node-red-contrib-git-nodes

    For Node-RED.

    Manage the flow in git repository.

    node image

    Feature

    • When you press the button, git command are executed automatically.
      • git add
      • git commit
      • git push
    • Split flows.json to make diff easy to see.
      • For function nodes, such files are created.
        • nodes/{node.id}/func

    Diff

    example

    -if (true) {
    -    console.log('Hello world.')
    +if (false) {
    +    console.log('Goodbye world.')
     }
     return msg

    github example

    diff image

    install

    npm install --save node-red-contrib-git-nodes

    Usage

    Local git

    1. Check git add and git rm property.
      • check property
    2. Press node button.
      • press button

    Push to github

    1. Register ssh key.
    2. Make an empty repository newly.
      • new repository
    3. Input git repository (ssh) property.
      • new repository
    4. Press node button.
      • press button

    Dependence

    • git command

    Install

    npm i node-red-contrib-git-nodes

    DownloadsWeekly Downloads

    5

    Version

    0.2.2

    License

    Apache-2.0

    Last publish

    Collaborators

    • high-u