Revisions and the Cloud - petewhartnett/learning-journal GitHub Wiki

Tracking a New File

There are two main ways that you can track a file in git.

  1. Single File - The first method is single file tracking that tracks one individual file.

The following is the correct format -

git add filename

  1. All Files - The second method is to track all files in a repository.

The Following is the correct format -

git add*

Files are now tracked and staged for committing!