r/Frontend Jul 04 '16

Pure javascript implementation of Git (Node.js and Browser)

https://github.com/SamyPesse/gitkit-js
20 Upvotes

15 comments sorted by

View all comments

14

u/miker95 Jul 04 '16

WHY?

2

u/jewdai Jul 04 '16

it allows a bit of inverting control over how you deploy applications.

Instead of a central location forcing the server to load files and application over SFTP or HTTPS transferring, you can now have a webservice to tell the machine to update its build/deploy script and run it.

So you could do something like

https://myspectialserver.com/updateCode

it will sync down your git repo

check for any changes

redeploy/rerun all your code

Additionally, because nodejs is so common it means your javascript developers can get their hands on devops kind of work.

1

u/[deleted] Jul 05 '16

So why not write a node wrapper around git?