- Working directory contains .git folder, we can add project files,folders inside working directory
- Even after adding the files, git won’t track the changes of files
- To Enable file tracking we need to add the files to staging area using this command
To add one file at a time | Git add <file name> |
To add multiple files and folders | git add <file1> <file2> <folder> |
To add all files and folders at a time | git add . |