You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+6
Original file line number
Diff line number
Diff line change
@@ -86,6 +86,7 @@
86
86
*[Dry run. (any command that supports dry-run flag should do.)](https://github.com/git-tips/tips#dry-run-any-command-that-supports-dry-run-flag-should-do)
87
87
*[Marks your commit as a fix of a previous commit](https://github.com/git-tips/tips#marks-your-commit-as-a-fix-of-a-previous-commit)
88
88
*[squash fixup commits normal commits.](https://github.com/git-tips/tips#squash-fixup-commits-normal-commits)
89
+
*[skip staging area during commit](https://github.com/git-tips/tips#skip-staging-area-during-commit)
89
90
90
91
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
91
92
<!-- @doxie.inject end toc -->
@@ -599,5 +600,10 @@ git commit --fixup <SHA-1>
599
600
git rebase -i --autosquash
600
601
```
601
602
603
+
## skip staging area during commit
604
+
```sh
605
+
git commit -am 'commit message'
606
+
```
607
+
602
608
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
0 commit comments