diff options
Diffstat (limited to 'man1/git-stash.1')
-rw-r--r-- | man1/git-stash.1 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/man1/git-stash.1 b/man1/git-stash.1 index 483480454..b7d9f6ad4 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: 03/21/2023 +.\" Date: 03/28/2023 .\" Manual: Git Manual -.\" Source: Git 2.40.0.130.g27d43aaaf5 +.\" Source: Git 2.40.0.141.g8d90352acc .\" Language: English .\" -.TH "GIT\-STASH" "1" "03/21/2023" "Git 2\&.40\&.0\&.130\&.g27d43a" "Git Manual" +.TH "GIT\-STASH" "1" "03/28/2023" "Git 2\&.40\&.0\&.141\&.g8d9035" "Git Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -477,11 +477,11 @@ when you want to make two or more commits out of the changes in the work tree, a $ git add \-\-patch foo # add just first part to the index $ git stash push \-\-keep\-index # save all other changes to the stash $ edit/build/test first part -$ git commit \-m \(aqFirst part\(aq # commit fully tested change +$ git commit \-m \*(AqFirst part\*(Aq # commit fully tested change $ git stash pop # prepare to work on all other changes # \&.\&.\&. repeat above five steps until one commit remains \&.\&.\&. $ edit/build/test remaining parts -$ git commit foo \-m \(aqRemaining parts\(aq +$ git commit foo \-m \*(AqRemaining parts\*(Aq .fi .if n \{\ .RE @@ -503,7 +503,7 @@ to stash them out for future use\&. This is similar to committing the staged cha $ git add \-\-patch foo # add unrelated changes to the index $ git stash push \-\-staged # save these changes to the stash # \&.\&.\&. hack hack hack, finish curent changes \&.\&.\&. -$ git commit \-m \(aqMassive\(aq # commit fully tested changes +$ git commit \-m \*(AqMassive\*(Aq # commit fully tested changes $ git switch fixup\-branch # switch to another branch $ git stash pop # to finish work on the saved changes .fi |