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 *"