From 8699132ce922511298a1002a0df3239464200eb3 Mon Sep 17 00:00:00 2001 From: exiam <36778679+exiam@users.noreply.github.com> Date: Tue, 2 Apr 2019 15:49:44 +0200 Subject: [PATCH] Add text about -u option on Git stash documentation (#29849) --- guide/english/git/git-stash/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/english/git/git-stash/index.md b/guide/english/git/git-stash/index.md index 8864c44730..ad44a2a475 100644 --- a/guide/english/git/git-stash/index.md +++ b/guide/english/git/git-stash/index.md @@ -16,7 +16,7 @@ git stash save "optional message for yourself" This saves your changes and reverts the working directory to what it looked like for the latest commit. Stashed changes are available from any branch in that repository. You can optionally use `git stash` to stash your changes without any message, and git will give it a default name. -Note that changes you want to stash need to be on tracked files. If you created a new file and try to stash your changes, you may get the error `No local changes to save`. To tell git to track a new file you created, run the command: +Note that changes you want to stash need to be on tracked files. If you created a new file and try to stash your changes, you may get the error `No local changes to save`. To stash all changes, including untracked files, you can add the `-u` option (or `--include-untracked`). To tell git to track a new file you created, run the command: ```shell git add