⊗gtPmBsTFS 17 of 65 menu

Git tracked file states

The states of tracked files that we saw in previous lessons have names. A file can have three states: modified, staged, and committed.

A file becomes modified when edits have been made to it but not saved. A file becomes staged when it has been added for inclusion in a commit. A committed state means that the commit has already been saved and included in your repository.

What is the status of the file if when checking the status we were given the following:

Changes to be committed: new file: index.html

What is the status of the file if when checking the status we were given the following:

Changes to be committed: modified: index.html

What is the status of the file if when checking the status we were given the following:

Changes not staged for commit: modified: index.html

What is the status of the file if when checking the status we were given the following:

nothing to commit, working tree clean
English
БеларускаяDeutschEspañolFrançaisPortuguêsРусский
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline