1
0
mirror of https://github.com/namibia/tips.git synced 2024-11-13 16:56:30 +00:00

blame on certain range

This commit is contained in:
Hemanth.HM 2016-10-31 21:18:46 +05:30
parent 6886c2c8f6
commit 9e7c67ed6c
2 changed files with 9 additions and 0 deletions

View File

@ -147,6 +147,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
* [List unpushed git commits](#list-unpushed-git-commits)
* [Add everything, but whitespace changes](#add-everything-but-whitespace-changes)
* [Edit [local/global] git config](#edit-localglobal-git-config)
* [blame on certain range](#blame-on-certain-range)
<!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end toc -->
@ -1008,5 +1009,10 @@ git diff --ignore-all-space | git apply --cached
git config [--global] --edit
```
## blame on certain range
```sh
git blame -L <start>,<end>
```
<!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end -->

View File

@ -431,4 +431,7 @@
}, {
"title": "Edit [local/global] git config",
"tip": "git config [--global] --edit"
}, {
"title": "blame on certain range",
"tip": "git blame -L <start>,<end>"
}]