We have finished bootstrapping our project by setting up an HTTP server and enabling ourselves to write in ES6. So, let's actually commit this block of code into Git.
Note
Note that we could have created a new commit each time we added a new script, or integrated with a new tool, but because the bootstrapping of a project can be considered as one logical unit, we're committing all of that into one commit.
Also, note that we are not going to be creating a dev
branch just yet, as bootstrapping a project is not considered to be a "feature." Remember that branches are here to help us separate our commits by business domains; if branching provides no benefit for us, then it's better to be pragmatic, rather than dogmatic.
Let's run git status
to see which files we can track in our Git repository:
$ git status Untracked files: .babelrc .eslintrc.json .nvmrc dist/ node_modules/ package.json src/ yarn.lock
The list of files listed by the git status
command...