What is ‘head’ in git?
Answer / Krishan Kant
'Head' in Git refers to a reference (like a pointer) that points to the tip of a branch, indicating its current commit. It is often used to specify which branch or version you are currently working on.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to remove a file from git without removing it from your file system?
What is git bisect and what is its purpose?
What does ‘hooks’ comprise of in git?
What is git fork? What is the difference between fork, branch, and clone?
How can you fix a broken commit?
What is git reflog?
What is Subgit? Why to use Subgit?
What work is restored when the deleted branch is recovered?
What is ‘head’ in git?
What is GIT stash?
Name some git commands and also explain their functions?
What is the function of ‘git diff ’ in git?