January 2018
Beginner
658 pages
13h 10m
English
With successful installation of Git, we are now ready to turn our node-web-server directory into a Git repository. In order to do this, we'll the following command:
git init
The git init command needs to get executed from the root of our project, the folder that has everything that we want to keep track of. In our case, node-web-server is that folder. It has our server.js file, our package.json file, and all of our directories. So, from the server folder, we'll run git init:

This creates a .git directory inside that folder. We can prove that by running the ls -a command:
ls -a
As ...