From 13aa0af0c87aa60e4f42490ab05b7c790acce56a Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Wed, 13 May 2020 00:43:45 +0100 Subject: [PATCH 1/2] git notes: add page --- pages/common/git-notes.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/common/git-notes.md diff --git a/pages/common/git-notes.md b/pages/common/git-notes.md new file mode 100644 index 00000000000000..ddbd6da12641c9 --- /dev/null +++ b/pages/common/git-notes.md @@ -0,0 +1,36 @@ +# git notes + +> Add or inspect object notes +> More information: . + +- List all notes and the objects they are attached to: + +`git notes list` + +- List all notes attached to a given object (defaults to HEAD): + +`git notes list [{{object}}]` + +- Show the notes attached to a given object (defaults to HEAD): + +`git notes show [{{object}}]` + +- Append a note to a specified object (opens the default text editor): + +`git notes append {{object}}` + +- Append a note to a specified object, specifying the message: + +`git notes append --message="{{message_text}}"` + +- Edit an existing note (defaults to HEAD): + +`git notes edit [{{object}}]` + +- Copy a note from one object to another: + +`git notes copy {{source_object}} {{target_object}}` + +- Remove all the notes added to a specified object: + +`git notes remove {{object}}` From 307b4e6ea0b1e539375a84e6c8a8c3b569fc1c55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Hern=C3=A1ndez=20Cazorla?= Date: Wed, 13 May 2020 00:50:52 +0100 Subject: [PATCH 2/2] git-notes: add period in description --- pages/common/git-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-notes.md b/pages/common/git-notes.md index ddbd6da12641c9..7014ea66488111 100644 --- a/pages/common/git-notes.md +++ b/pages/common/git-notes.md @@ -1,6 +1,6 @@ # git notes -> Add or inspect object notes +> Add or inspect object notes. > More information: . - List all notes and the objects they are attached to: