git-blame: add page
This commit is contained in:
11
pages/common/git-blame.md
Normal file
11
pages/common/git-blame.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# git blame
|
||||||
|
|
||||||
|
> Show commit hash and last author on each line of a file
|
||||||
|
|
||||||
|
- Print file with author name and commit hash on each line
|
||||||
|
|
||||||
|
`git blame {{file}}`
|
||||||
|
|
||||||
|
- Print file with author email and commit hash on each line
|
||||||
|
|
||||||
|
`git blame -e {{file}}`
|
Reference in New Issue
Block a user