Git staging

Caroline@CAROL-HP ~/projects/myGitProject (master)
$ git status
On branch master

No commits yet

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        README.md

nothing added to commit but untracked files present (use "git add" to track)

Caroline@CAROL-HP ~/projects/myGitProject (master)
$ git add .

Caroline@CAROL-HP ~/projects/myGitProject (master)
$ git status
On branch master

No commits yet

Changes to be committed:
  (use "git rm --cached <file>..." to unstage)
        new file:   README.md


Caroline@CAROL-HP ~/projects/myGitProject (master)
$

Leave a Comment