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 |
How many heads can be created in a repository?
What is ‘git status’ is used for?
How can conflict in git resolved?
What does ‘hooks’ consist of in git?
What is the difference between git and github?
What is subgit and why is it used?
Mention the various git repository hosting functions.
What is rebasing syntax in git?
How do you find a list of files that have changed in a particular commit?
What is the common branching pattern in GIT?
Explain the difference between reverting and resetting.
What is the function of ‘GIT PUSH’ in GIT?