From e849a6f24a4ddaeeccc1595992fb87cddc99bc11 Mon Sep 17 00:00:00 2001 From: Diogo Lemos Date: Fri, 24 Feb 2017 11:44:13 +0000 Subject: [PATCH] No need for git stash save --- README.md | 7 ++++++- tips.json | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cad7841..f0bc850 100644 --- a/README.md +++ b/README.md @@ -426,11 +426,16 @@ git stash save --keep-index ## Saving current state including untracked files ```sh -git stash save -u +git stash -u ``` __Alternatives:__ +```sh +git stash save -u +``` + + ```sh git stash save --include-untracked ``` diff --git a/tips.json b/tips.json index 2693d2b..16b56eb 100644 --- a/tips.json +++ b/tips.json @@ -126,8 +126,8 @@ "alternatives": ["git stash --keep-index", "git stash save --keep-index"] }, { "title": "Saving current state including untracked files", - "tip": "git stash save -u", - "alternatives": ["git stash save --include-untracked"] + "tip": "git stash -u", + "alternatives": ["git stash save -u", "git stash save --include-untracked"] }, { "title": "Saving current state with message", "tip": "git stash save "