Skip to content

Commit 691b338

Browse files
author
anandrajana
committed
skip staging
1 parent d07dd00 commit 691b338

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,10 @@ git commit --fixup <SHA-1>
598598
```sh
599599
git rebase -i --autosquash
600600
```
601+
## skip staging during commit
602+
```sh
603+
git commit -a -m 'commit message'
604+
```
601605

602606
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
603607
<!-- @doxie.inject end -->

tips.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,4 +263,7 @@
263263
}, {
264264
"title": "squash fixup commits normal commits.",
265265
"tip": "git rebase -i --autosquash"
266+
}, {
267+
"title": "skip staging area during commit",
268+
"tip": "git commit -a -m 'commit message'"
266269
}]

0 commit comments

Comments
 (0)