git add
- Command# Command 1: Track and stage all files in the current directory.
git add .
# Command 2: Track and stage a specific file.
git add [file_name]
# Example 2
git add main.py
# Command 1: Track all files in the current directory.
git add -N .
# Command 2: Track a specific file.
git add -N [file_name]
# Example 2
git add -N main.py