1
0
mirror of https://github.com/namibia/tips.git synced 2024-11-05 21:07:53 +00:00

Merge pull request #100 from ZuBB/master

fix(commit): use proper switch to exclude staged stuff
This commit is contained in:
hemanth.hm 2016-06-23 12:19:52 +05:30 committed by GitHub
commit 3b398f8f9f
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 *"