The idea is to make
commit of the new files in a single line, that is, the
Untracked files, as well as the
Unstaged changes in the files that are already tracked.
There are 2 files:
Of which level-4.md is already being tracked, and text.txt is a newly created file that has not been tracked .
Then, changes are made to both files, and what you want is to have a
commit in a single line that confirms all the changes in the repository.
You want something like:
git commit -am "Mensaje del commit"
Only that this form, only considers the changes made in the files that are being tracked, that is, saves the changes in level-4.md and ignores the facts in < strong> text.txt .