Git TutorialLesson 6Free preview
Git New Files
This lesson is part of Git · All levels
Summary
A new file that's never been identified by Git is untracked. Use the status git to view the list of untracked, modified, or staged files. Enter the file into the staging with git add before committing, and don't forget to ignore the temporary or secret file via .gitignore.
Key points
- Git status is a window of information working directory and staging area
- Untracked files mean never added to the repository
- Git add. add all the changes at once
- The build and secret files should be entered into the (.gitignore)
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.