diff --git a/README.md b/README.md index e3a01e4..98ca3f2 100644 --- a/README.md +++ b/README.md @@ -125,6 +125,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`. * [Unstaging Staged file](#unstaging-staged-file) * [Force push to Remote Repository](#force-push-to-remote-repository) * [Adding Remote name](#adding-remote-name) +* [Show the author, time and last revision made to each line of a given file](#show-the-author-time-and-last-revision-made-to-each-line-of-a-given-file) @@ -880,5 +881,10 @@ git push -f git remote add ``` +## Show the author, time and last revision made to each line of a given file +```sh +git blame +``` + diff --git a/tips.json b/tips.json index 09c3595..3c1bcab 100644 --- a/tips.json +++ b/tips.json @@ -372,7 +372,7 @@ "title": "Get first commit in a branch (from master)", "tip": "git log master.. --oneline | tail -1" }, { - "title":"Unstaging Staged file", + "title": "Unstaging Staged file", "tip": "git reset HEAD " }, { "title": "Force push to Remote Repository", @@ -380,4 +380,7 @@ }, { "title": "Adding Remote name", "tip": "git remote add " +}, { + "title": "Show the author, time and last revision made to each line of a given file", + "tip": "git blame " }]