From 6f732ee68e4e4e2e5943e7facfdc00ce09ba1e69 Mon Sep 17 00:00:00 2001 From: Vasyl Zuzyak Date: Thu, 23 Jun 2016 00:20:34 +0300 Subject: [PATCH] fix(commit): use proper switch to exclude staged stuff --- README.md | 2 +- tips.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 887d0a1..6c24bd6 100644 --- a/README.md +++ b/README.md @@ -685,7 +685,7 @@ git rebase -i --autosquash ## skip staging area during commit. ```sh -git commit -am +git commit --only ``` ## List ignored files. diff --git a/tips.json b/tips.json index 4cb4cce..64b1e1e 100644 --- a/tips.json +++ b/tips.json @@ -281,7 +281,7 @@ "tip": "git rebase -i --autosquash" }, { "title": "skip staging area during commit.", - "tip": "git commit -am " + "tip": "git commit --only " }, { "title": "List ignored files.", "tip": "git check-ignore *"