GIT ADD :- The git add command adds new or changed files in our working directory to the Git staging area. git add is an important command - without it, no git commit would ever do anything. Sometimes, git add can have a reputation for being an unnecessary step in development. But in reality, git add is an important and powerful tool. git add allows us to shape history without changing how you work.
We created 5 different branches for every member with the following command:-
git checkout -b branch-name
Each member has described different options available with the add command:
- Pallav Gupta
- --dry-run
- --verbose
- --force
- --sparse
- Prakhar Singh
- --ignore-errors
- --ignore-missing
- --no-warn-embedded-repo
- --renormalize
- Rashid Ali
- --interactive
- --patch
- --edit
- --update
- Muskan Jain
- --renormalize
- --chmod=(+|-)x
- --pathspec-from-file=
- --pathspec-file-nul
- Utkarsh Ambastha
- --no-ignore-removal
- --ignore-removal
- --intent-to-add
- --refresh