We have initialized a new repository for our project. Now we will learn how to store file modifications using
git add and
Make sure you have initialized a new git repository and created sample files under your project directory. Follow the previous recipes to get more details.
Now that we have a new repo initialized for our project, let's go ahead and check in our files.
git statuscommand. This should list all the files under the
Untracked fileslist, as follows:
$ git status
As shown by
git status ...