Add first file
-
add
-
git add README.txt
-
git status
Add the files to the index (or staging area, or cache).
$ git add README.txt
$ git status
On branch master
Initial commit
Changes to be committed:
(use "git rm --cached <file>..." to unstage)
new file: README.txt