node-red-contrib-git-nodes
v0.2.2
Published
for Node-RED. management flows.
Downloads
15
Maintainers
Readme
node-red-contrib-git-nodes
For Node-RED.
Manage the flow in git repository.
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
- For function nodes, such files are created.
Diff
example
-if (true) {
- console.log('Hello world.')
+if (false) {
+ console.log('Goodbye world.')
}
return msg
github example
install
npm install --save node-red-contrib-git-nodes
Usage
Local git
- Check
git add
andgit rm
property. - Press node button.
Push to github
- Register ssh key.
- https://github.com/settings/keys
- Make an empty repository newly.
- Input
git repository (ssh)
property. - Press node button.
Dependence
- git command