What is ‘git add’ is used for?
Answer / Gaurav Khare
'git add' is used to stage files or directories for the next commit. It tells Git which changes should be included in the upcoming commit, preparing them for a commit message and eventual push to the repository.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between the ‘git diff ’and ‘git status’?
What are the advantages of using GIT?
What is subgit and why is it used?
What is git bisect and what is its purpose?
What is the difference between git vs svn
Explain the difference between reverting and resetting.
What is the function of ‘git stash apply’?
What is git and why do we use it?
What are git stash and git stash drop?
How can you fix a broken commit?
What is git cherry-pick?
what is git fork? What is difference between fork and branch? How to create tag?