Committing Changes
Create and modify commits with a dedicated input interface.
Keybindings
| Key | Action |
|---|---|
c | Commit |
A | Amend Commit |
ctrl+e | Submit |
esc | Cancel |
tab | Next Field |
shift+tab | Previous Field |
Workflows
Creating a Commit
- Stage: Ensure you have staged files in the Modified Files panel.
- Trigger: Press
c. - Popup: The Commit Popup appears with two fields:
- Summary: The first line of your commit message.
- Description: Detailed body of the commit message.
- Input:
- Type your summary.
- Press
tabto move to the description (optional).
- Submit: Press
ctrl+e.- Why
ctrl+e?: Sinceenteris used for new lines in the description field,ctrl+eis used to submit the form.
- Why
Amending a Commit
- Trigger: Press
A(shift+a). - Popup: The Amend Commit Popup opens, pre-filled with the last commit's message.
- Modify: Edit the message or simply submit to include new staged files.
- Submit: Press
ctrl+e.