Dead simple git pull interface for express using nodemon.
$ npm install node-pull
Start nodemon to restart your process on changes.
$ nodemon -e js,html,css,json
Integrate node-pull
var express = require('express'),
nodepull = require('node-pull');
var app = express()
nodepull(app);
app.listen(3000)
Then call
http://localhost:3000/gitpull
And input swordfish ;)
Change default password
...
nodepull(app, { password : '#secret#magnets#!'});
In case your project root is not the repos root.
...
nodepull(app, { root : 'somepath/things/yourprojectroot/'});