1
0
mirror of https://github.com/namibia/tips.git synced 2024-06-11 14:42:26 +00:00

fix(commit): use proper switch to exclude staged stuff

This commit is contained in:
Vasyl Zuzyak 2016-06-23 00:20:34 +03:00
parent 699b36eedf
commit 6f732ee68e
2 changed files with 2 additions and 2 deletions

View File

@ -685,7 +685,7 @@ git rebase -i --autosquash
## skip staging area during commit. ## skip staging area during commit.
```sh ```sh
git commit -am <commit message> git commit --only <file_path>
``` ```
## List ignored files. ## List ignored files.

View File

@ -281,7 +281,7 @@
"tip": "git rebase -i --autosquash" "tip": "git rebase -i --autosquash"
}, { }, {
"title": "skip staging area during commit.", "title": "skip staging area during commit.",
"tip": "git commit -am <commit message>" "tip": "git commit --only <file_path>"
}, { }, {
"title": "List ignored files.", "title": "List ignored files.",
"tip": "git check-ignore *" "tip": "git check-ignore *"