1
0
mirror of https://github.com/namibia/tips.git synced 2024-12-23 02:28:58 +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.
```sh
git commit -am <commit message>
git commit --only <file_path>
```
## List ignored files.

View File

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