From a28b3e9953ed358b2cb46c6d49eb1892323f1fed Mon Sep 17 00:00:00 2001 From: Igor Shubovych Date: Fri, 18 Dec 2015 00:08:37 +0200 Subject: [PATCH] git-blame: add page --- pages/common/git-blame.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pages/common/git-blame.md diff --git a/pages/common/git-blame.md b/pages/common/git-blame.md new file mode 100644 index 000000000..7fe87e3c9 --- /dev/null +++ b/pages/common/git-blame.md @@ -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}}`