Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Git Interview Questions
→
Advanced GIT Interview Questions in Git Interview Questions
→
What does git annotate command do?
1.
What does git annotate command do?
Answer»
This command
ANNOTATES
each line within the given file with information from the commit which introduced that change. This command can also
OPTIONALLY
annotate from a given
REVISION
.
Syntax: git annotate [<
OPTIONS
>] <file> [<revision>]
You can get to learn more about this command from the official git documentation
here
.
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
What is the difference between git stash apply vs git stash pop command?
What does git annotate command do?
What is a detached HEAD and what causes this and how to avoid this?
Explain the levels in git config and how can you configure values using them?
What consists of a commit object?
Can you tell something about git reflog?
How would you recover a branch that has already pushed changes in the central repository but has been accidentally deleted from every team member’s local machines?
What has to be run to squash multiple commits (last N) into a single commit?
What do the git diff and git status commands do?
Can you tell the difference between Git and GitHub?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies