threads / patch / 3573

patchdocumentation: add 'see also' sections to git-rm and git-add

Subject: [PATCH] documentation: add 'see also' sections to git-rm and git-add

## tl;dr

One message between Mar 5, 2006 and Mar 5, 2006. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Jeff Muizelaar· Mar 5, 2006, 21:18 UTC · lore

Pair up git-add and git-rm by adding a 'see also' section that references the opposite command to each of their documentation files.

---
 Documentation/git-add.txt |    3 +++
 Documentation/git-rm.txt  |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)
aedd49a31816736b244b9f61303e112431eff80c
Show changes to 2 files +6 −0

Documentation/git-add.txt, Documentation/git-rm.txt

diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index 7e29383..5b7c354 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -65,6 +65,9 @@ git-add git-*.sh::
 	(i.e. you are listing the files explicitly), it does not
 	add `subdir/git-foo.sh` to the index.
 
+See Also
+--------
+gitlink:git-rm[1]
 
 Author
 ------
diff --git a/Documentation/git-rm.txt b/Documentation/git-rm.txt
index 401bfb2..d8a5afa 100644
--- a/Documentation/git-rm.txt
+++ b/Documentation/git-rm.txt
@@ -74,6 +74,9 @@ git-rm -f git-*.sh::
 	shell expand the asterisk (i.e. you are listing the files
 	explicitly), it does not remove `subdir/git-foo.sh`.
 
+See Also
+--------
+gitlink:git-add[1]
 
 Author
 ------
-- 
1.2.4.g8bc6

← back to recent threads