mirror of
https://github.com/namibia/tips.git
synced 2024-12-23 10:38:58 +00:00
-am
This commit is contained in:
parent
d07dd0040c
commit
7dcbedb269
@ -86,6 +86,7 @@
|
|||||||
* [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)
|
* [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)
|
||||||
* [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)
|
* [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)
|
||||||
* [squash fixup commits normal commits.](https://github.com/git-tips/tips#squash-fixup-commits-normal-commits)
|
* [squash fixup commits normal commits.](https://github.com/git-tips/tips#squash-fixup-commits-normal-commits)
|
||||||
|
* [skip staging area during commit](https://github.com/git-tips/tips#skip-staging-area-during-commit)
|
||||||
|
|
||||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||||
<!-- @doxie.inject end toc -->
|
<!-- @doxie.inject end toc -->
|
||||||
@ -599,5 +600,10 @@ git commit --fixup <SHA-1>
|
|||||||
git rebase -i --autosquash
|
git rebase -i --autosquash
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## skip staging area during commit
|
||||||
|
```sh
|
||||||
|
git commit -am 'commit message'
|
||||||
|
```
|
||||||
|
|
||||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||||
<!-- @doxie.inject end -->
|
<!-- @doxie.inject end -->
|
||||||
|
@ -263,4 +263,7 @@
|
|||||||
}, {
|
}, {
|
||||||
"title": "squash fixup commits normal commits.",
|
"title": "squash fixup commits normal commits.",
|
||||||
"tip": "git rebase -i --autosquash"
|
"tip": "git rebase -i --autosquash"
|
||||||
|
}, {
|
||||||
|
"title": "skip staging area during commit",
|
||||||
|
"tip": "git commit -am 'commit message'"
|
||||||
}]
|
}]
|
||||||
|
Loading…
Reference in New Issue
Block a user