Skip to contentSkip to conversation

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

PATCH New Jeff Muizelaar 1 participant 1 message Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 documentation: add 'see also' sections to git-rm and git-add

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

Documentation/git-add.txt +3 -0
index 7e29383..5b7c354 100644
@@ -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
 ------
Documentation/git-rm.txt +3 -0
index 401bfb2..d8a5afa 100644
@@ -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
 ------
Signature · 1 line
1.2.4.g8bc6