mirror of
https://github.com/namibia/tips.git
synced 2025-01-09 08:30:23 +00:00
fix(commit): use proper switch to exclude staged stuff
This commit is contained in:
parent
699b36eedf
commit
6f732ee68e
@ -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.
|
||||||
|
@ -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 *"
|
||||||
|
Loading…
Reference in New Issue
Block a user