node-red-contrib-git-nodes 0.2.2

for Node-RED. management flows.

npm install 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

Node Info

Version: 0.2.2
Updated 6 years, 9 months ago
License: Apache-2.0
Rating: not yet rated

Actions

Rate:

Downloads

6 in the last week

Nodes

  • git-nodes
  • git-nodes-config

Keywords

  • node-red
  • git
  • flows
  • diff
  • push
  • commit

Maintainers