From 814bafcaa2f044217bdc91ad34f2cbc90cab98d3 Mon Sep 17 00:00:00 2001 From: "Hemanth.HM" Date: Sat, 24 Sep 2016 23:11:34 +0530 Subject: [PATCH] show all the git-notes --- README.md | 6 ++++++ tips.json | 3 +++ 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index 0cb9173..ca7e964 100644 --- a/README.md +++ b/README.md @@ -140,6 +140,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`. * [Number of commits in a branch](#number-of-commits-in-a-branch) * [Alias: git undo](#alias-git-undo) * [Add object notes](#add-object-notes) +* [Show all the git-notes](#show-all-the-git-notes) @@ -948,5 +949,10 @@ git config --global alias.undo '!f() { git reset --hard $(git rev-parse --abbrev git notes add -m 'Note on the previous commit....' ``` +## Show all the git-notes +```sh +git log --show-notes='*' +``` + diff --git a/tips.json b/tips.json index 2745894..54bc4ef 100644 --- a/tips.json +++ b/tips.json @@ -408,4 +408,7 @@ }, { "title": "Add object notes", "tip": "git notes add -m 'Note on the previous commit....'" +}, { + "title": "Show all the git-notes", + "tip": "git log --show-notes='*'" }]