vendredi 27 février 2015

Node.js - How to sync files to/from GitHub

I am just beginning to work with Node.js.


I have run npm init.


One of the items it prompts me for is a Git repository. I provided the address to a new (only containing the README.md) public GitHub repository.


If I create a new file from my desktop and check it in to the repository -- how does that file get synced to my server running Node.js.


Is there an npm command to do so or is it handled automatically?


Aucun commentaire:

Enregistrer un commentaire