Browse Source

git-log: show branch graph (#2587)

Larry Lu 6 years ago
parent
commit
92ce13cba4
1 changed files with 5 additions and 1 deletions
  1. 5 1
      pages/common/git-log.md

+ 5 - 1
pages/common/git-log.md

@@ -18,7 +18,11 @@
 
 `git log --stat`
 
-- Show all commits, tags and branches for the entire repo in a graph format:
+- Show a graph of commits in the current branch:
+
+`git log --graph`
+
+- Show a graph of all commits, tags and branches in the entire repo:
 
 `git log --oneline --decorate --all --graph`