git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] doc/git-reset: add reference to git-stash
@ 2008-12-17  2:59 Markus Heidelberg
  2008-12-17  4:11 ` Miklos Vajna
  0 siblings, 1 reply; 4+ messages in thread
From: Markus Heidelberg @ 2008-12-17  2:59 UTC (permalink / raw)
  To: gitster; +Cc: git

The "Interrupted workflow" situation is a good example for using
git-stash.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
---
 Documentation/git-reset.txt |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Documentation/git-reset.txt b/Documentation/git-reset.txt
index 52aab5e..29156f6 100644
--- a/Documentation/git-reset.txt
+++ b/Documentation/git-reset.txt
@@ -177,6 +177,8 @@ $ git reset                                       <3>
 <3> At this point the index file still has all the WIP changes you
     committed as 'snapshot WIP'.  This updates the index to show your
     WIP files as uncommitted.
++
+See also linkgit:git-stash[1].
 
 Reset a single file in the index::
 +
-- 
1.6.1.rc3.23.gaf48b

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] doc/git-reset: add reference to git-stash
  2008-12-17  2:59 [PATCH] doc/git-reset: add reference to git-stash Markus Heidelberg
@ 2008-12-17  4:11 ` Miklos Vajna
  2008-12-17  8:49   ` Markus Heidelberg
  0 siblings, 1 reply; 4+ messages in thread
From: Miklos Vajna @ 2008-12-17  4:11 UTC (permalink / raw)
  To: Markus Heidelberg; +Cc: gitster, git

[-- Attachment #1: Type: text/plain, Size: 848 bytes --]

On Wed, Dec 17, 2008 at 03:59:36AM +0100, Markus Heidelberg <markus.heidelberg@web.de> wrote:
> ++
> +See also linkgit:git-stash[1].

Manpages have a dedicated "SEE-ALSO" section. What about this?

(See Documentation/git-commit.txt for an example.)

---
 Documentation/git-reset.txt |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Documentation/git-reset.txt b/Documentation/git-reset.txt
index 52aab5e..e7ddc43 100644
--- a/Documentation/git-reset.txt
+++ b/Documentation/git-reset.txt
@@ -195,6 +195,10 @@ $ git add frotz.c                           <3>
 <2> This commits all other changes in the index.
 <3> Adds the file to the index again.
 
+SEE ALSO
+--------
+linkgit:git-stash[1]
+
 Author
 ------
 Written by Junio C Hamano <gitster@pobox.com> and Linus Torvalds <torvalds@osdl.org>

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] doc/git-reset: add reference to git-stash
  2008-12-17  4:11 ` Miklos Vajna
@ 2008-12-17  8:49   ` Markus Heidelberg
  2008-12-17 14:33     ` Miklos Vajna
  0 siblings, 1 reply; 4+ messages in thread
From: Markus Heidelberg @ 2008-12-17  8:49 UTC (permalink / raw)
  To: Miklos Vajna; +Cc: gitster, git

Miklos Vajna, 17.12.2008:
> On Wed, Dec 17, 2008 at 03:59:36AM +0100, Markus Heidelberg <markus.heidelberg@web.de> wrote:
> > ++
> > +See also linkgit:git-stash[1].
> 
> Manpages have a dedicated "SEE-ALSO" section. What about this?

That's only appropriate if the commands are generally related to each
other, which isn't true for git-reset and git-stash.

> (See Documentation/git-commit.txt for an example.)

man git-commit
/See
-> I get 4 search matches outside of the "SEE ALSO" section and it makes
sense in these cases.

Markus

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] doc/git-reset: add reference to git-stash
  2008-12-17  8:49   ` Markus Heidelberg
@ 2008-12-17 14:33     ` Miklos Vajna
  0 siblings, 0 replies; 4+ messages in thread
From: Miklos Vajna @ 2008-12-17 14:33 UTC (permalink / raw)
  To: Markus Heidelberg; +Cc: gitster, git

[-- Attachment #1: Type: text/plain, Size: 490 bytes --]

On Wed, Dec 17, 2008 at 09:49:42AM +0100, Markus Heidelberg <markus.heidelberg@web.de> wrote:
> Miklos Vajna, 17.12.2008:
> > On Wed, Dec 17, 2008 at 03:59:36AM +0100, Markus Heidelberg <markus.heidelberg@web.de> wrote:
> > > ++
> > > +See also linkgit:git-stash[1].
> > 
> > Manpages have a dedicated "SEE-ALSO" section. What about this?
> 
> That's only appropriate if the commands are generally related to each
> other, which isn't true for git-reset and git-stash.

Ah, OK.

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-12-17 14:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-17  2:59 [PATCH] doc/git-reset: add reference to git-stash Markus Heidelberg
2008-12-17  4:11 ` Miklos Vajna
2008-12-17  8:49   ` Markus Heidelberg
2008-12-17 14:33     ` Miklos Vajna

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).