1
0
mirror of https://github.com/namibia/tips.git synced 2024-12-22 18:18:58 +00:00

show all the git-notes

This commit is contained in:
Hemanth.HM 2016-09-24 23:11:34 +05:30
parent 9007100789
commit 814bafcaa2
2 changed files with 9 additions and 0 deletions

View File

@ -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)
<!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end toc -->
@ -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='*'
```
<!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end -->

View File

@ -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='*'"
}]