Skip to content

Commit 9e7c67e

Browse files
committed
blame on certain range
1 parent 6886c2c commit 9e7c67e

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
147147
* [List unpushed git commits](#list-unpushed-git-commits)
148148
* [Add everything, but whitespace changes](#add-everything-but-whitespace-changes)
149149
* [Edit [local/global] git config](#edit-localglobal-git-config)
150+
* [blame on certain range](#blame-on-certain-range)
150151

151152
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
152153
<!-- @doxie.inject end toc -->
@@ -1008,5 +1009,10 @@ git diff --ignore-all-space | git apply --cached
10081009
git config [--global] --edit
10091010
```
10101011

1012+
## blame on certain range
1013+
```sh
1014+
git blame -L <start>,<end>
1015+
```
1016+
10111017
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
10121018
<!-- @doxie.inject end -->

tips.json

+3
Original file line numberDiff line numberDiff line change
@@ -431,4 +431,7 @@
431431
}, {
432432
"title": "Edit [local/global] git config",
433433
"tip": "git config [--global] --edit"
434+
}, {
435+
"title": "blame on certain range",
436+
"tip": "git blame -L <start>,<end>"
434437
}]

0 commit comments

Comments
 (0)