Prechádzať zdrojové kódy

Merge pull request #366 from igorshubovych/git-blame

git-blame: add page
Waldir Pimenta 9 rokov pred
rodič
commit
e57db141d7
1 zmenil súbory, kde vykonal 11 pridanie a 0 odobranie
  1. 11 0
      pages/common/git-blame.md

+ 11 - 0
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}}`