diff options
Diffstat (limited to 'man1/git-stash.1')
-rw-r--r-- | man1/git-stash.1 | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/man1/git-stash.1 b/man1/git-stash.1 index 909341f31..d86d2e10c 100644 --- a/man1/git-stash.1 +++ b/man1/git-stash.1 @@ -2,12 +2,12 @@ .\" Title: git-stash .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 10/27/2022 +.\" Date: 10/28/2022 .\" Manual: Git Manual -.\" Source: Git 2.38.1.236.g5af5e54106 +.\" Source: Git 2.38.1.280.g63bba4fdd8 .\" Language: English .\" -.TH "GIT\-STASH" "1" "10/27/2022" "Git 2\&.38\&.1\&.236\&.g5af5e5" "Git Manual" +.TH "GIT\-STASH" "1" "10/28/2022" "Git 2\&.38\&.1\&.280\&.g63bba4" "Git Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -33,17 +33,20 @@ git-stash \- Stash the changes in a dirty working directory away .sp .nf \fIgit stash\fR list [<log\-options>] -\fIgit stash\fR show [\-u|\-\-include\-untracked|\-\-only\-untracked] [<diff\-options>] [<stash>] -\fIgit stash\fR drop [\-q|\-\-quiet] [<stash>] -\fIgit stash\fR ( pop | apply ) [\-\-index] [\-q|\-\-quiet] [<stash>] +\fIgit stash\fR show [\-u | \-\-include\-untracked | \-\-only\-untracked] [<diff\-options>] [<stash>] +\fIgit stash\fR drop [\-q | \-\-quiet] [<stash>] +\fIgit stash\fR pop [\-\-index] [\-q | \-\-quiet] [<stash>] +\fIgit stash\fR apply [\-\-index] [\-q | \-\-quiet] [<stash>] \fIgit stash\fR branch <branchname> [<stash>] -\fIgit stash\fR [push [\-p|\-\-patch] [\-S|\-\-staged] [\-k|\-\-[no\-]keep\-index] [\-q|\-\-quiet] - [\-u|\-\-include\-untracked] [\-a|\-\-all] [\-m|\-\-message <message>] +\fIgit stash\fR [push [\-p | \-\-patch] [\-S | \-\-staged] [\-k | \-\-[no\-]keep\-index] [\-q | \-\-quiet] + [\-u | \-\-include\-untracked] [\-a | \-\-all] [(\-m | \-\-message) <message>] [\-\-pathspec\-from\-file=<file> [\-\-pathspec\-file\-nul]] [\-\-] [<pathspec>\&...]] +\fIgit stash\fR save [\-p | \-\-patch] [\-S | \-\-staged] [\-k | \-\-[no\-]keep\-index] [\-q | \-\-quiet] + [\-u | \-\-include\-untracked] [\-a | \-\-all] [<message>] \fIgit stash\fR clear \fIgit stash\fR create [<message>] -\fIgit stash\fR store [\-m|\-\-message <message>] [\-q|\-\-quiet] <commit> +\fIgit stash\fR store [(\-m | \-\-message) <message>] [\-q | \-\-quiet] <commit> .fi .sp .SH "DESCRIPTION" @@ -55,7 +58,7 @@ The modifications stashed away by this command can be listed with \fBgit stash l The latest stash you created is stored in \fBrefs/stash\fR; older stashes are found in the reflog of this reference and can be named using the usual reflog syntax (e\&.g\&. \fBstash@{0}\fR is the most recently created stash, \fBstash@{1}\fR is the one before it, \fBstash@{2\&.hours\&.ago}\fR is also possible)\&. Stashes may also be referenced by specifying just the stash index (e\&.g\&. the integer \fBn\fR is equivalent to \fBstash@{n}\fR)\&. .SH "COMMANDS" .PP -push [\-p|\-\-patch] [\-S|\-\-staged] [\-k|\-\-[no\-]keep\-index] [\-u|\-\-include\-untracked] [\-a|\-\-all] [\-q|\-\-quiet] [\-m|\-\-message <message>] [\-\-pathspec\-from\-file=<file> [\-\-pathspec\-file\-nul]] [\-\-] [<pathspec>\&...] +push [\-p|\-\-patch] [\-S|\-\-staged] [\-k|\-\-[no\-]keep\-index] [\-u|\-\-include\-untracked] [\-a|\-\-all] [\-q|\-\-quiet] [(\-m|\-\-message) <message>] [\-\-pathspec\-from\-file=<file> [\-\-pathspec\-file\-nul]] [\-\-] [<pathspec>\&...] .RS 4 Save your local modifications to a new \fIstash entry\fR |