Let's Learn Git

Let's Learn Git

DAY - 1

What does the git annotate command do?

The git annotate command, also known as "git blame," is used to show the last modification of each line of a file. It displays the revision number, author, and date of the last modification, along with the line of code that was modified. This can be helpful in understanding the history of changes to a file and tracking down who made a specific change.

The command is typically used in the following format:

Syntax : git annotate [<options>] <file> [<revision>]