diff --git a/git/viewing-history-of-a-file.md b/git/viewing-history-of-a-file.md index 64ced12..d328960 100644 --- a/git/viewing-history-of-a-file.md +++ b/git/viewing-history-of-a-file.md @@ -4,12 +4,12 @@ You can add filename to `git log` to view all the commit history of a file: git log my_file ``` -If you want to view diff's, at `-p` option: +If you want to view diff's, add `-p` option: ``` git log -p my_file ``` -If you want to continue listing the file history beyond renames add `--follow` option: +If you want to continue listing the file history beyond renames, add `--follow` option: ``` git log --follow -p my_file ```