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 |
Name a few git commands?
Explain the difference between rebase and merge?
How to remove a file from git without removing it from your file system?
In git how do you revert a commit that has already been pushed and made public?
What is GIT stash?
What is the use of ‘git log’?
What does ‘hooks’ comprise of in git?
What language is used in GIT?
What is git fork? What is the difference between fork, branch, and clone?
How can you create a repository in Git?
What are git stash and git stash drop?
How is git instaweb used?