adds nice git interface
This commit is contained in:
@@ -14,7 +14,7 @@ Helder confirms what it just did with a toast: a small card that appears near th
|
||||
| +-------------------------------------------+ |
|
||||
| |# [] Committed 2 files [Fix the login fo..]| (1) |
|
||||
| +-------------------------------------------+ |
|
||||
| |# [] Pushed [main -> main] | |
|
||||
| |# [] Pushed 1 commit to origin/main | |
|
||||
| +-------------------------------------------+ |
|
||||
| ^ ^ ^ ^ |
|
||||
| (2)(3) (4) (5) |
|
||||
@@ -68,13 +68,15 @@ Git:
|
||||
| Title | Detail | When |
|
||||
|---|---|---|
|
||||
| Committed 1 file / Committed N files | commit subject (first 34 characters) | A commit succeeded |
|
||||
| Commit failed | git's error | The commit did not work; your message stays in the field |
|
||||
| Pushing… | none | A push started |
|
||||
| Pushed | git's message | The push succeeded |
|
||||
| Push failed | git's message | The push did not work |
|
||||
| Discarded changes | path | After Discard changes |
|
||||
| Discard failed | path | Discard did not work |
|
||||
| Stage failed / Unstage failed | path or git's error | Staging or unstaging did not work |
|
||||
| Commit failed | git's first error line | The commit did not work; your message stays in the field |
|
||||
| `Pushed N commits to origin/<branch>` | none | The push succeeded; without commits ahead it reads `Pushed to origin/<branch>` |
|
||||
| Push failed | git's first error line | The push did not work |
|
||||
| `Pulled N commits from origin/<branch>` | none | The pull brought in commits; `Pulled from origin/<branch>` when the count was not known. An up-to-date pull shows nothing |
|
||||
| Pull failed | git's first error line | The pull did not work |
|
||||
| `Switched to <branch>` | none | A branch switch from the Git view succeeded |
|
||||
| — Commit or discard N files before you switch. | none | You clicked a branch while there are uncommitted changes |
|
||||
|
||||
Stage, unstage, discard and typed console commands show no toast. Their output, errors included, is in the Git view's [console](git.md#console).
|
||||
|
||||
The agent:
|
||||
|
||||
@@ -90,7 +92,7 @@ Two other messages appear for a moment, but they are not toasts:
|
||||
|
||||
## Related
|
||||
|
||||
- [Git](git.md): commit, push, stage and discard, which report through toasts.
|
||||
- [Git](git.md): commit, pull, push and branch switches, which report through toasts.
|
||||
- [Explorer](explorer.md) and [Right-click menu](right-click-menu.md): the file actions behind most file toasts.
|
||||
- [Pass on to agent](pass-on-to-agent.md): the "Passed to agent" toast.
|
||||
- [Dialogs](dialogs.md): prompts that do ask you something, unlike toasts.
|
||||
|
||||
Reference in New Issue
Block a user