mirror of
https://github.com/namibia/tips.git
synced 2024-12-23 02:28:58 +00:00
show all the git-notes
This commit is contained in:
parent
9007100789
commit
814bafcaa2
@ -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)
|
* [Number of commits in a branch](#number-of-commits-in-a-branch)
|
||||||
* [Alias: git undo](#alias-git-undo)
|
* [Alias: git undo](#alias-git-undo)
|
||||||
* [Add object notes](#add-object-notes)
|
* [Add object notes](#add-object-notes)
|
||||||
|
* [Show all the git-notes](#show-all-the-git-notes)
|
||||||
|
|
||||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||||
<!-- @doxie.inject end toc -->
|
<!-- @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....'
|
git notes add -m 'Note on the previous commit....'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Show all the git-notes
|
||||||
|
```sh
|
||||||
|
git log --show-notes='*'
|
||||||
|
```
|
||||||
|
|
||||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||||
<!-- @doxie.inject end -->
|
<!-- @doxie.inject end -->
|
||||||
|
@ -408,4 +408,7 @@
|
|||||||
}, {
|
}, {
|
||||||
"title": "Add object notes",
|
"title": "Add object notes",
|
||||||
"tip": "git notes add -m 'Note on the previous commit....'"
|
"tip": "git notes add -m 'Note on the previous commit....'"
|
||||||
|
}, {
|
||||||
|
"title": "Show all the git-notes",
|
||||||
|
"tip": "git log --show-notes='*'"
|
||||||
}]
|
}]
|
||||||
|
Loading…
Reference in New Issue
Block a user