X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-stash.txt;h=051f94d26f9f057cbd4db0d6886ca1a4d33c912c;hb=c0bc2eeb1e03593ca816f63deda662da5a25ab83;hp=e64e1f124407003002522d6c9e127985632941dc;hpb=9da6f0fff2d6ab4bfad36099b53c911bc498fc2e;p=git.git diff --git a/Documentation/git-stash.txt b/Documentation/git-stash.txt index e64e1f124..051f94d26 100644 --- a/Documentation/git-stash.txt +++ b/Documentation/git-stash.txt @@ -207,7 +207,7 @@ each change before committing: $ git add --patch foo # add just first part to the index $ git stash save --keep-index # save all other changes to the stash $ edit/build/test first part -$ git commit foo -m 'First part' # commit fully tested change +$ git commit -m 'First part' # 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