Skip to content

Commit 814bafc

Browse files
committed
show all the git-notes
1 parent 9007100 commit 814bafc

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
140140
* [Number of commits in a branch](#number-of-commits-in-a-branch)
141141
* [Alias: git undo](#alias-git-undo)
142142
* [Add object notes](#add-object-notes)
143+
* [Show all the git-notes](#show-all-the-git-notes)
143144

144145
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
145146
<!-- @doxie.inject end toc -->
@@ -948,5 +949,10 @@ git config --global alias.undo '!f() { git reset --hard $(git rev-parse --abbrev
948949
git notes add -m 'Note on the previous commit....'
949950
```
950951

952+
## Show all the git-notes
953+
```sh
954+
git log --show-notes='*'
955+
```
956+
951957
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
952958
<!-- @doxie.inject end -->

tips.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,4 +408,7 @@
408408
}, {
409409
"title": "Add object notes",
410410
"tip": "git notes add -m 'Note on the previous commit....'"
411+
}, {
412+
"title": "Show all the git-notes",
413+
"tip": "git log --show-notes='*'"
411414
}]

0 commit comments

Comments
 (0)