Next: Editing Commit Messages, Up: Committing [Contents][Index]
Also see the git-commit(1) manpage.
magit-commit-popup
)This prefix command shows the following suffix commands along with the appropriate infix arguments in a popup buffer.
magit-commit
)Create a new commit on HEAD
. With a prefix argument amend to the
commit at HEAD
instead.
magit-commit-amend
)Amend the last commit.
magit-commit-extend
)Amend the last commit, without editing the message. With a prefix
argument keep the committer date, otherwise change it. The option
magit-commit-extend-override-date
can be used to inverse the meaning
of the prefix argument.
Non-interactively respect the optional OVERRIDE-DATE argument and ignore the option.
magit-commit-reword
)Reword the last commit, ignoring staged changes. With a prefix
argument keep the committer date, otherwise change it. The option
magit-commit-reword-override-date
can be used to inverse the meaning
of the prefix argument.
Non-interactively respect the optional OVERRIDE-DATE argument and ignore the option.
magit-commit-fixup
)Create a fixup commit.
With a prefix argument the target commit has to be confirmed.
Otherwise the commit at point may be used without confirmation
depending on the value of option magit-commit-squash-confirm
.
magit-commit-instant-fixup
)Create a fixup commit and instantly rebase.
magit-commit-squash
)Create a squash commit, without editing the squash message.
With a prefix argument the target commit has to be confirmed.
Otherwise the commit at point may be used without confirmation
depending on the value of option magit-commit-squash-confirm
.
magit-commit-instant-squash
)Create a squash commit and instantly rebase.
magit-commit-augment
)Create a squash commit, editing the squash message.
With a prefix argument the target commit has to be confirmed.
Otherwise the commit at point may be used without confirmation
depending on the value of option magit-commit-squash-confirm
.
Whether to ask to stage everything when committing and nothing is staged.
Whether using magit-commit-extend
changes the committer date.
Whether using magit-commit-reword
changes the committer date.
Whether the commit targeted by squash and fixup has to be confirmed.
When non-nil then the commit at point (if any) is used as default
choice. Otherwise it has to be confirmed. This option only affects
magit-commit-squash
and magit-commit-fixup
. The "instant" variants
always require confirmation because making an error while using
those is harder to recover from.
Next: Editing Commit Messages, Up: Committing [Contents][Index]