Add VHS e2e tests and output recordings

Includes test tapes for navigation, branch operations, stash operations,
help panel, commits, and cursor navigation. Resolved stash conflicts by
keeping simpler test versions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-22 11:01:11 -05:00
parent 99a3970f17
commit 2657545018
77 changed files with 22900 additions and 112 deletions
File diff suppressed because it is too large Load Diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 190 KiB

+696
View File
@@ -0,0 +1,696 @@
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
> cd /tmp && rm -rf lazygitclj-e2e-branch && git clone /tmp/lazygitclj-e2e-nav lazygitclj-e2e-branch
2>/dev/null && cd lazygitclj-e2e-branch && git checkout main && bb --config /home/ajet/repos/claj
ygit/bb.edn start
────────────────────────────────────────────────────────────────────────────────
> cd /tmp && rm -rf lazygitclj-e2e-branch && git clone /tmp/lazygitclj-e2e-nav lazygitclj-e2e-branch
2>/dev/null && cd lazygitclj-e2e-branch && git checkout main && bb --config /home/ajet/repos/claj
ygit/bb.edn start
Already on 'main'
Your branch is up to date with 'origin/main'.
Starting lazygitclj...
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (8837ca0) ↑0 ↓0
╔═ 1 Files (0) ═════╗
║ Clean working tree ║
╚════════════════════╝
╭─ 2 Commits (1) ──────────────────────────╮
│ 8837ca0 Initial commit (81 seconds ago) │
╰───────────────────────────────────────────╯
╭─ 3 Branches (1) ╮
│ * main │
╰─────────────────╯
q:quit r:refresh tab:switch space:stage/unstage a:stage all c:commit d:discard p:pull P:
push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (8837ca0) ↑0 ↓0
╭─ 1 Files (0) ─────╮
│ Clean working tree │
╰────────────────────╯
╭─ 2 Commits (1) ──────────────────────────╮
│ 8837ca0 Initial commit (81 seconds ago) │
╰───────────────────────────────────────────╯
╔═ 3 Branches (1) ╗
║ > * main ║
╚═════════════════╝
q:quit r:refresh tab:switch enter:checkout p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (8837ca0) ↑0 ↓0
╭─ 1 Files (0) ─────╮
│ Clean working tree │
╰────────────────────╯
╭─ 2 Commits (1) ──────────────────────────╮
│ 8837ca0 Initial commit (81 seconds ago) │
╰───────────────────────────────────────────╯
╔═ 3 Branches (1) ╗
║ > * main ║
╚═════════════════╝
q:quit r:refresh tab:switch enter:checkout p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (8837ca0) ↑0 ↓0
╭─ 1 Files (0) ─────╮
│ Clean working tree │
╰────────────────────╯
╭─ 2 Commits (1) ──────────────────────────╮
│ 8837ca0 Initial commit (81 seconds ago) │
╰───────────────────────────────────────────╯
╔═ 3 Branches (1) ╗
║ > * main ║
╚═════════════════╝
q:quit r:refresh tab:switch enter:checkout p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (8837ca0) ↑0 ↓0
╭─ 1 Files (0) ─────╮
│ Clean working tree │
╰────────────────────╯
╭─ 2 Commits (1) ──────────────────────────╮
│ 8837ca0 Initial commit (81 seconds ago) │
╰───────────────────────────────────────────╯
╔═ 3 Branches (1) ╗
║ > * main ║
╚═════════════════╝
q:quit r:refresh tab:switch enter:checkout p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (8837ca0) ↑0 ↓0
╭─ 1 Files (0) ─────╮
│ Clean working tree │
╰────────────────────╯
╭─ 2 Commits (1) ──────────────────────────╮
│ 8837ca0 Initial commit (81 seconds ago) │
╰───────────────────────────────────────────╯
╔═ 3 Branches (1) ╗
║ > * main ║
╚═════════════════╝
q:quit r:refresh tab:switch enter:checkout p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (8837ca0) ↑0 ↓0
╭─ 1 Files (0) ─────╮
│ Clean working tree │
╰────────────────────╯
╭─ 2 Commits (1) ──────────────────────────╮
│ 8837ca0 Initial commit (81 seconds ago) │
╰───────────────────────────────────────────╯
╔═ 3 Branches (1) ╗
║ > * main ║
╚═════════════════╝
q:quit r:refresh tab:switch enter:checkout p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (8837ca0) ↑0 ↓0
╔═ 1 Files (0) ═════╗
║ Clean working tree ║
╚════════════════════╝
╭─ 2 Commits (1) ──────────────────────────╮
│ 8837ca0 Initial commit (81 seconds ago) │
╰───────────────────────────────────────────╯
╭─ 3 Branches (1) ╮
│ * main │
╰─────────────────╯
q:quit r:refresh tab:switch space:stage/unstage a:stage all c:commit d:discard p:pull P:
push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (8837ca0) ↑0 ↓0
╔═ 1 Files (0) ═════╗
║ Clean working tree ║
╚════════════════════╝
╭─ 2 Commits (1) ──────────────────────────╮
│ 8837ca0 Initial commit (81 seconds ago) │
╰───────────────────────────────────────────╯
╭─ 3 Branches (1) ╮
│ * main │
╰─────────────────╯
q:quit r:refresh tab:switch space:stage/unstage a:stage all c:commit d:discard p:pull P:
push
────────────────────────────────────────────────────────────────────────────────
> cd /tmp && rm -rf lazygitclj-e2e-branch && git clone /tmp/lazygitclj-e2e-nav lazygitclj-e2e-branch
2>/dev/null && cd lazygitclj-e2e-branch && git checkout main && bb --config /home/ajet/repos/claj
ygit/bb.edn start
Already on 'main'
Your branch is up to date with 'origin/main'.
Starting lazygitclj...
Goodbye!
>
────────────────────────────────────────────────────────────────────────────────
> cd /tmp && rm -rf lazygitclj-e2e-branch && git clone /tmp/lazygitclj-e2e-nav lazygitclj-e2e-branch
2>/dev/null && cd lazygitclj-e2e-branch && git checkout main && bb --config /home/ajet/repos/claj
ygit/bb.edn start
Already on 'main'
Your branch is up to date with 'origin/main'.
Starting lazygitclj...
Goodbye!
>
────────────────────────────────────────────────────────────────────────────────
Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

File diff suppressed because it is too large Load Diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 353 KiB

+906
View File
@@ -0,0 +1,906 @@
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-commit && cd /tmp/lazygitclj-e2e-commit && bb -
-config /home/ajet/repos/lazygitclj/bb.edn start
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-commit && cd /tmp/lazygitclj-e2e-commit && bb -
-config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-commit/.git/
[main (root-commit) bbbe757] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 29e8112] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-commit
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
Starting lazygitclj...
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (bbbe757)
╔═ 1 Files (3) ═══╗
║ Staged: ║
║ > M file2.txt ║
║ ║
║ Unstaged: ║
║ M file1.txt ║
║ ?? newfile.txt ║
╚══════════════════╝
╭─ 2 Commits (1) ─────────────────────────╮
│ bbbe757 Initial commit (0 seconds ago) │
╰──────────────────────────────────────────╯
╭─ 3 Branches (2) ──╮
│ feature-branch │
│ * main │
╰────────────────────╯
q:quit r:refresh tab:switch space:stage/unstage a:stage all c:commit d:discard p:pull P:
push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (bbbe757)
╔═ 1 Files (3) ═══╗
║ Staged: ║
║ > M file1.txt ║
║ M file2.txt ║
║ A newfile.txt ║
║ ║
║ ║
╚══════════════════╝
╭─ 2 Commits (1) ─────────────────────────╮
│ bbbe757 Initial commit (2 seconds ago) │
╰──────────────────────────────────────────╯
╭─ 3 Branches (2) ──╮
│ feature-branch │
│ * main │
╰────────────────────╯
q:quit r:refresh tab:switch space:stage/unstage a:stage all c:commit d:discard p:pull P:
push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (bbbe757)
╔═ 1 Files (3) ═══╗
║ Staged: ║
║ > M file1.txt ║
║ M file2.txt ║
║ A newfile.txt ║
║ ║
║ ║
╚══════════════════╝
╭─ 2 Commits (1) ─────────────────────────╮
│ bbbe757 Initial commit (2 seconds ago) │
╰──────────────────────────────────────────╯
╭─ 3 Branches (2) ──╮
│ feature-branch │
│ * main │
╰────────────────────╯
q:quit r:refresh tab:switch space:stage/unstage a:stage all c:commit d:discard p:pull P:
push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (bbbe757)
╭─ commit ╮
│ > _ │
╰─────────╯
q:quit r:refresh tab:switch space:stage/unstage a:stage all c:commit d:discard p:pull P:
push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (bbbe757)
╭─ commit ╮
│ > _ │
╰─────────╯
q:quit r:refresh tab:switch space:stage/unstage a:stage all c:commit d:discard p:pull P:
push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (bbbe757)
╭─ commit ╮
│ > _ │
╰─────────╯
q:quit r:refresh tab:switch space:stage/unstage a:stage all c:commit d:discard p:pull P:
push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (bbbe757)
╭─ commit ╮
│ > _ │
╰─────────╯
q:quit r:refresh tab:switch space:stage/unstage a:stage all c:commit d:discard p:pull P:
push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (bbbe757)
╭─ commit ╮
│ > _ │
╰─────────╯
q:quit r:refresh tab:switch space:stage/unstage a:stage all c:commit d:discard p:pull P:
push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (bbbe757)
Commit message cannot be empty
╭─ commit ╮
│ > _ │
╰─────────╯
q:quit r:refresh tab:switch space:stage/unstage a:stage all c:commit d:discard p:pull P:
push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (bbbe757)
Commit message cannot be empty
╭─ commit ╮
│ > _ │
╰─────────╯
q:quit r:refresh tab:switch space:stage/unstage a:stage all c:commit d:discard p:pull P:
push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (bbbe757)
Commit message cannot be empty
╭─ commit ╮
│ > _ │
╰─────────╯
q:quit r:refresh tab:switch space:stage/unstage a:stage all c:commit d:discard p:pull P:
push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (bbbe757)
Commit message cannot be empty
╭─ commit ╮
│ > _ │
╰─────────╯
q:quit r:refresh tab:switch space:stage/unstage a:stage all c:commit d:discard p:pull P:
push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (bbbe757)
Commit message cannot be empty
╭─ commit ╮
│ > _ │
╰─────────╯
q:quit r:refresh tab:switch space:stage/unstage a:stage all c:commit d:discard p:pull P:
push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (bbbe757)
Commit message cannot be empty
╭─ commit ╮
│ > _ │
╰─────────╯
q:quit r:refresh tab:switch space:stage/unstage a:stage all c:commit d:discard p:pull P:
push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (bbbe757)
Commit message cannot be empty
╭─ commit ╮
│ > _ │
╰─────────╯
q:quit r:refresh tab:switch space:stage/unstage a:stage all c:commit d:discard p:pull P:
push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (bbbe757)
Commit message cannot be empty
╭─ commit ╮
│ > _ │
╰─────────╯
q:quit r:refresh tab:switch space:stage/unstage a:stage all c:commit d:discard p:pull P:
push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (bbbe757)
Commit message cannot be empty
╭─ commit ╮
│ > _ │
╰─────────╯
q:quit r:refresh tab:switch space:stage/unstage a:stage all c:commit d:discard p:pull P:
push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (bbbe757)
Commit message cannot be empty
╭─ commit ╮
│ > _ │
╰─────────╯
q:quit r:refresh tab:switch space:stage/unstage a:stage all c:commit d:discard p:pull P:
push
────────────────────────────────────────────────────────────────────────────────
Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

+816
View File
@@ -0,0 +1,816 @@
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-commits-tabs && cd /tmp/lazygitclj-e2e-commits-
tabs && bb --config /home/ajet/repos/lazygitclj/bb.edn start
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-commits-tabs && cd /tmp/lazygitclj-e2e-commits-
tabs && bb --config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-commits-tabs/.git/
[main (root-commit) dba4a40] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 8f863df] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-commits-tabs
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
Starting lazygitclj...
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (dba4a40)
╔═ 1 Files (3) ═╗
║ Staged: ║
║ M > file2.txt ║
║ ║
║ Unstaged: ║
║ M file1.txt ║
║ ?? newfile.txt ║
╚════════════════╝
╭─ 2 [Commits] | Reflog (1) ────────────╮
│ dba4a40 Initial commit (0 seconds ago) │
╰────────────────────────────────────────╯
╭─ 3 [Local] | Remotes | Tags (2) ╮
│ feature-branch │
│ * main │
╰─────────────────────────────────╯
╭─ 4 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help D:reset spc:stage a:all c:commit d:discard s/S:stash p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (dba4a40)
╭─ 1 Files (3) ─╮
│ Staged: │
│ M file2.txt │
│ │
│ Unstaged: │
│ M file1.txt │
│ ?? newfile.txt │
╰────────────────╯
╔═ 2 [Commits] | Reflog (1) ══════════════╗
║ dba4a40 > Initial commit (0 seconds ago) ║
╚══════════════════════════════════════════╝
╭─ 3 [Local] | Remotes | Tags (2) ╮
│ feature-branch │
│ * main │
╰─────────────────────────────────╯
╭─ 4 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help D:reset []:tabs spc:checkout t:revert C:cherry-pick p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (dba4a40)
╭─ 1 Files (3) ─╮
│ Staged: │
│ M file2.txt │
│ │
│ Unstaged: │
│ M file1.txt │
│ ?? newfile.txt │
╰────────────────╯
╔═ 2 [Commits] | Reflog (1) ══════════════╗
║ dba4a40 > Initial commit (0 seconds ago) ║
╚══════════════════════════════════════════╝
╭─ 3 [Local] | Remotes | Tags (2) ╮
│ feature-branch │
│ * main │
╰─────────────────────────────────╯
╭─ 4 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help D:reset []:tabs spc:checkout t:revert C:cherry-pick p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (dba4a40)
╭─ 1 Files (3) ─╮
│ Staged: │
│ M file2.txt │
│ │
│ Unstaged: │
│ M file1.txt │
│ ?? newfile.txt │
╰────────────────╯
╔═ 2 Commits | [Reflog] (4) ════════════════════════════════════╗
║ dba4a40 > checkout: moving from feature-branch to ... HEAD@{0} ║
║ 8f863df commit: Feature work HEAD@{1} ║
║ dba4a40 checkout: moving from main to feature-br... HEAD@{2} ║
║ dba4a40 commit (initial): Initial commit HEAD@{3} ║
╚════════════════════════════════════════════════════════════════╝
╭─ 3 [Local] | Remotes | Tags (2) ╮
│ feature-branch │
│ * main │
╰─────────────────────────────────╯
╭─ 4 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help D:reset []:tabs spc:checkout t:revert C:cherry-pick p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (dba4a40)
╭─ 1 Files (3) ─╮
│ Staged: │
│ M file2.txt │
│ │
│ Unstaged: │
│ M file1.txt │
│ ?? newfile.txt │
╰────────────────╯
╔═ 2 Commits | [Reflog] (4) ════════════════════════════════════╗
║ dba4a40 > checkout: moving from feature-branch to ... HEAD@{0} ║
║ 8f863df commit: Feature work HEAD@{1} ║
║ dba4a40 checkout: moving from main to feature-br... HEAD@{2} ║
║ dba4a40 commit (initial): Initial commit HEAD@{3} ║
╚════════════════════════════════════════════════════════════════╝
╭─ 3 [Local] | Remotes | Tags (2) ╮
│ feature-branch │
│ * main │
╰─────────────────────────────────╯
╭─ 4 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help D:reset []:tabs spc:checkout t:revert C:cherry-pick p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (dba4a40)
╭─ 1 Files (3) ─╮
│ Staged: │
│ M file2.txt │
│ │
│ Unstaged: │
│ M file1.txt │
│ ?? newfile.txt │
╰────────────────╯
╔═ 2 Commits | [Reflog] (4) ══════════════════════════════════╗
║ dba4a40 checkout: moving from feature-branch to ... HEAD@{0} ║
║ 8f863df > commit: Feature work HEAD@{1} ║
║ dba4a40 checkout: moving from main to feature-br... HEAD@{2} ║
║ dba4a40 commit (initial): Initial commit HEAD@{3} ║
╚══════════════════════════════════════════════════════════════╝
╭─ 3 [Local] | Remotes | Tags (2) ╮
│ feature-branch │
│ * main │
╰─────────────────────────────────╯
╭─ 4 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help D:reset []:tabs spc:checkout t:revert C:cherry-pick p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (dba4a40)
╭─ 1 Files (3) ─╮
│ Staged: │
│ M file2.txt │
│ │
│ Unstaged: │
│ M file1.txt │
│ ?? newfile.txt │
╰────────────────╯
╔═ 2 Commits | [Reflog] (4) ══════════════════════════════════╗
║ dba4a40 checkout: moving from feature-branch to ... HEAD@{0} ║
║ 8f863df > commit: Feature work HEAD@{1} ║
║ dba4a40 checkout: moving from main to feature-br... HEAD@{2} ║
║ dba4a40 commit (initial): Initial commit HEAD@{3} ║
╚══════════════════════════════════════════════════════════════╝
╭─ 3 [Local] | Remotes | Tags (2) ╮
│ feature-branch │
│ * main │
╰─────────────────────────────────╯
╭─ 4 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help D:reset []:tabs spc:checkout t:revert C:cherry-pick p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (dba4a40)
╭─ 1 Files (3) ─╮
│ Staged: │
│ M file2.txt │
│ │
│ Unstaged: │
│ M file1.txt │
│ ?? newfile.txt │
╰────────────────╯
╔═ 2 Commits | [Reflog] (4) ════════════════════════════════════╗
║ dba4a40 > checkout: moving from feature-branch to ... HEAD@{0} ║
║ 8f863df commit: Feature work HEAD@{1} ║
║ dba4a40 checkout: moving from main to feature-br... HEAD@{2} ║
║ dba4a40 commit (initial): Initial commit HEAD@{3} ║
╚════════════════════════════════════════════════════════════════╝
╭─ 3 [Local] | Remotes | Tags (2) ╮
│ feature-branch │
│ * main │
╰─────────────────────────────────╯
╭─ 4 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help D:reset []:tabs spc:checkout t:revert C:cherry-pick p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (dba4a40)
╭─ 1 Files (3) ─╮
│ Staged: │
│ M file2.txt │
│ │
│ Unstaged: │
│ M file1.txt │
│ ?? newfile.txt │
╰────────────────╯
╔═ 2 Commits | [Reflog] (4) ════════════════════════════════════╗
║ dba4a40 > checkout: moving from feature-branch to ... HEAD@{0} ║
║ 8f863df commit: Feature work HEAD@{1} ║
║ dba4a40 checkout: moving from main to feature-br... HEAD@{2} ║
║ dba4a40 commit (initial): Initial commit HEAD@{3} ║
╚════════════════════════════════════════════════════════════════╝
╭─ 3 [Local] | Remotes | Tags (2) ╮
│ feature-branch │
│ * main │
╰─────────────────────────────────╯
╭─ 4 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help D:reset []:tabs spc:checkout t:revert C:cherry-pick p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (dba4a40)
╭─ 1 Files (3) ─╮
│ Staged: │
│ M file2.txt │
│ │
│ Unstaged: │
│ M file1.txt │
│ ?? newfile.txt │
╰────────────────╯
╔═ 2 [Commits] | Reflog (1) ══════════════╗
║ dba4a40 > Initial commit (0 seconds ago) ║
╚══════════════════════════════════════════╝
╭─ 3 [Local] | Remotes | Tags (2) ╮
│ feature-branch │
│ * main │
╰─────────────────────────────────╯
╭─ 4 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help D:reset []:tabs spc:checkout t:revert C:cherry-pick p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (dba4a40)
╭─ 1 Files (3) ─╮
│ Staged: │
│ M file2.txt │
│ │
│ Unstaged: │
│ M file1.txt │
│ ?? newfile.txt │
╰────────────────╯
╔═ 2 [Commits] | Reflog (1) ══════════════╗
║ dba4a40 > Initial commit (0 seconds ago) ║
╚══════════════════════════════════════════╝
╭─ 3 [Local] | Remotes | Tags (2) ╮
│ feature-branch │
│ * main │
╰─────────────────────────────────╯
╭─ 4 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help D:reset []:tabs spc:checkout t:revert C:cherry-pick p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (dba4a40)
╭─ 1 Files (3) ─╮
│ Staged: │
│ M file2.txt │
│ │
│ Unstaged: │
│ M file1.txt │
│ ?? newfile.txt │
╰────────────────╯
╔═ 2 [Commits] | Reflog (1) ══════════════╗
║ dba4a40 > Initial commit (0 seconds ago) ║
╚══════════════════════════════════════════╝
╭─ 3 [Local] | Remotes | Tags (2) ╮
│ feature-branch │
│ * main │
╰─────────────────────────────────╯
╭─ 4 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help D:reset []:tabs spc:checkout t:revert C:cherry-pick p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (dba4a40)
╭─ 1 Files (3) ─╮
│ Staged: │
│ M file2.txt │
│ │
│ Unstaged: │
│ M file1.txt │
│ ?? newfile.txt │
╰────────────────╯
╔═ 2 [Commits] | Reflog (1) ══════════════╗
║ dba4a40 > Initial commit (0 seconds ago) ║
╚══════════════════════════════════════════╝
╭─ 3 [Local] | Remotes | Tags (2) ╮
│ feature-branch │
│ * main │
╰─────────────────────────────────╯
╭─ 4 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help D:reset []:tabs spc:checkout t:revert C:cherry-pick p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-commits-tabs && cd /tmp/lazygitclj-e2e-commits-
tabs && bb --config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-commits-tabs/.git/
[main (root-commit) dba4a40] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 8f863df] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-commits-tabs
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
Starting lazygitclj...
Goodbye!
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-commits-tabs && cd /tmp/lazygitclj-e2e-commits-
tabs && bb --config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-commits-tabs/.git/
[main (root-commit) dba4a40] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 8f863df] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-commits-tabs
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
Starting lazygitclj...
Goodbye!
>
────────────────────────────────────────────────────────────────────────────────
Binary file not shown.

After

Width:  |  Height:  |  Size: 186 KiB

+636
View File
@@ -0,0 +1,636 @@
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-debug
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-debug
Initialized empty Git repository in /tmp/lazygitclj-debug/.git/
[main (root-commit) dd04b48] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 18fb092] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-debug
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-debug
Initialized empty Git repository in /tmp/lazygitclj-debug/.git/
[main (root-commit) dd04b48] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 18fb092] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-debug
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-debug
Initialized empty Git repository in /tmp/lazygitclj-debug/.git/
[main (root-commit) dd04b48] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 18fb092] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-debug
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
> cd /tmp/lazygitclj-debug && git status --porcelain
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-debug
Initialized empty Git repository in /tmp/lazygitclj-debug/.git/
[main (root-commit) dd04b48] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 18fb092] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-debug
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
> cd /tmp/lazygitclj-debug && git status --porcelain
M file1.txt
M file2.txt
?? newfile.txt
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-debug
Initialized empty Git repository in /tmp/lazygitclj-debug/.git/
[main (root-commit) dd04b48] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 18fb092] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-debug
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
> cd /tmp/lazygitclj-debug && git status --porcelain
M file1.txt
M file2.txt
?? newfile.txt
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-debug
Initialized empty Git repository in /tmp/lazygitclj-debug/.git/
[main (root-commit) dd04b48] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 18fb092] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-debug
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
> cd /tmp/lazygitclj-debug && git status --porcelain
M file1.txt
M file2.txt
?? newfile.txt
> bb --config /home/ajet/repos/lazygitclj/bb.edn start
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-debug
Initialized empty Git repository in /tmp/lazygitclj-debug/.git/
[main (root-commit) dd04b48] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 18fb092] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-debug
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
> cd /tmp/lazygitclj-debug && git status --porcelain
M file1.txt
M file2.txt
?? newfile.txt
> bb --config /home/ajet/repos/lazygitclj/bb.edn start
Starting lazygitclj...
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (dd04b48)
╔═ 1 Files (3) ═╗
║ Staged: ║
║ M > file2.txt ║
║ ║
║ Unstaged: ║
║ M file1.txt ║
║ ?? newfile.txt ║
╚════════════════╝
╭─ 2 [Commits] | Reflog (1) ────────────╮
│ dd04b48 Initial commit (9 seconds ago) │
╰────────────────────────────────────────╯
╭─ 3 [Local] | Remotes | Tags (2) ╮
│ feature-branch │
│ * main │
╰─────────────────────────────────╯
╭─ 4 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help D:reset spc:stage a:all c:commit d:discard s/S:stash p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-debug
Initialized empty Git repository in /tmp/lazygitclj-debug/.git/
[main (root-commit) dd04b48] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 18fb092] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-debug
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
> cd /tmp/lazygitclj-debug && git status --porcelain
M file1.txt
M file2.txt
?? newfile.txt
> bb --config /home/ajet/repos/lazygitclj/bb.edn start
Starting lazygitclj...
Goodbye!
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-debug
Initialized empty Git repository in /tmp/lazygitclj-debug/.git/
[main (root-commit) dd04b48] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 18fb092] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-debug
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
> cd /tmp/lazygitclj-debug && git status --porcelain
M file1.txt
M file2.txt
?? newfile.txt
> bb --config /home/ajet/repos/lazygitclj/bb.edn start
Starting lazygitclj...
Goodbye!
>
────────────────────────────────────────────────────────────────────────────────
Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

+696
View File
@@ -0,0 +1,696 @@
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-help && cd /tmp/lazygitclj-e2e-help && bb -
-config /home/ajet/repos/lazygitclj/bb.edn start
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-help && cd /tmp/lazygitclj-e2e-help && bb -
-config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-help/.git/
[main (root-commit) d81ba5b] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch da5a877] Add feature
1 file changed, 1 insertion(+)
create mode 100644 feature.txt
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-help
Starting lazygitclj...
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (d81ba5b)
╔═ 2 Files (2) ═══╗
║ Staged: ║
║ M > ile1.txt ║
║ ║
║ Unstaged: ║
║ ?? new-file.txt ║
╚═════════════════╝
╭─ 3 Local (2) ────╮
│ feature-branch │
│ * main │
╰──────────────────╯
╭─ 4 Commits (1) ────────────────────────╮
│ d81ba5b Initial commit (0 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:stage/unstage a:all c:commit s:stash p:pull P:push
────────────────────────────────────────────────────────────────────────────────
╔═ Help - Press ? or q to close ════════════════╗
║ ║
║ Global: ║
║ q - Quit r - Refresh ? - Help ║
║ h/l - Switch panels 2-5 - Jump to panel ║
║ j/k - Move cursor </> - Top/Bottom ║
║ p - Pull P - Push ║
║ ║
║ Files (2): ║
║ space - Stage/unstage a - Toggle all ║
║ c - Commit d - Discard ║
║ s - Stash all ║
║ ║
║ Branches (3): ║
║ space/enter - Checkout n - New branch ║
║ d - Delete R - Rename M - Merge ║
║ [/] - Switch tabs - - Previous ║
║ ║
║ Commits (4): ║
║ space - Checkout C - Cherry-pick ║
║ t - Revert g - Reset to ║
║ n - New branch from commit ║
║ ║
║ Stash (5): ║
║ space - Apply g - Pop ║
║ d - Drop n - Branch from stash ║
║ ║
╚═══════════════════════════════════════════════╝
────────────────────────────────────────────────────────────────────────────────
╔═ Help - Press ? or q to close ════════════════╗
║ ║
║ Global: ║
║ q - Quit r - Refresh ? - Help ║
║ h/l - Switch panels 2-5 - Jump to panel ║
║ j/k - Move cursor </> - Top/Bottom ║
║ p - Pull P - Push ║
║ ║
║ Files (2): ║
║ space - Stage/unstage a - Toggle all ║
║ c - Commit d - Discard ║
║ s - Stash all ║
║ ║
║ Branches (3): ║
║ space/enter - Checkout n - New branch ║
║ d - Delete R - Rename M - Merge ║
║ [/] - Switch tabs - - Previous ║
║ ║
║ Commits (4): ║
║ space - Checkout C - Cherry-pick ║
║ t - Revert g - Reset to ║
║ n - New branch from commit ║
║ ║
║ Stash (5): ║
║ space - Apply g - Pop ║
║ d - Drop n - Branch from stash ║
║ ║
╚═══════════════════════════════════════════════╝
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (d81ba5b)
╔═ 2 Files (2) ═══╗
║ Staged: ║
║ M > ile1.txt ║
║ ║
║ Unstaged: ║
║ ?? new-file.txt ║
╚═════════════════╝
╭─ 3 Local (2) ────╮
│ feature-branch │
│ * main │
╰──────────────────╯
╭─ 4 Commits (1) ────────────────────────╮
│ d81ba5b Initial commit (0 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:stage/unstage a:all c:commit s:stash p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (d81ba5b)
╔═ 2 Files (2) ═══╗
║ Staged: ║
║ M > ile1.txt ║
║ ║
║ Unstaged: ║
║ ?? new-file.txt ║
╚═════════════════╝
╭─ 3 Local (2) ────╮
│ feature-branch │
│ * main │
╰──────────────────╯
╭─ 4 Commits (1) ────────────────────────╮
│ d81ba5b Initial commit (0 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:stage/unstage a:all c:commit s:stash p:pull P:push
────────────────────────────────────────────────────────────────────────────────
╔═ Help - Press ? or q to close ════════════════╗
║ ║
║ Global: ║
║ q - Quit r - Refresh ? - Help ║
║ h/l - Switch panels 2-5 - Jump to panel ║
║ j/k - Move cursor </> - Top/Bottom ║
║ p - Pull P - Push ║
║ ║
║ Files (2): ║
║ space - Stage/unstage a - Toggle all ║
║ c - Commit d - Discard ║
║ s - Stash all ║
║ ║
║ Branches (3): ║
║ space/enter - Checkout n - New branch ║
║ d - Delete R - Rename M - Merge ║
║ [/] - Switch tabs - - Previous ║
║ ║
║ Commits (4): ║
║ space - Checkout C - Cherry-pick ║
║ t - Revert g - Reset to ║
║ n - New branch from commit ║
║ ║
║ Stash (5): ║
║ space - Apply g - Pop ║
║ d - Drop n - Branch from stash ║
║ ║
╚═══════════════════════════════════════════════╝
────────────────────────────────────────────────────────────────────────────────
╔═ Help - Press ? or q to close ════════════════╗
║ ║
║ Global: ║
║ q - Quit r - Refresh ? - Help ║
║ h/l - Switch panels 2-5 - Jump to panel ║
║ j/k - Move cursor </> - Top/Bottom ║
║ p - Pull P - Push ║
║ ║
║ Files (2): ║
║ space - Stage/unstage a - Toggle all ║
║ c - Commit d - Discard ║
║ s - Stash all ║
║ ║
║ Branches (3): ║
║ space/enter - Checkout n - New branch ║
║ d - Delete R - Rename M - Merge ║
║ [/] - Switch tabs - - Previous ║
║ ║
║ Commits (4): ║
║ space - Checkout C - Cherry-pick ║
║ t - Revert g - Reset to ║
║ n - New branch from commit ║
║ ║
║ Stash (5): ║
║ space - Apply g - Pop ║
║ d - Drop n - Branch from stash ║
║ ║
╚═══════════════════════════════════════════════╝
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (d81ba5b)
╔═ 2 Files (2) ═══╗
║ Staged: ║
║ M > ile1.txt ║
║ ║
║ Unstaged: ║
║ ?? new-file.txt ║
╚═════════════════╝
╭─ 3 Local (2) ────╮
│ feature-branch │
│ * main │
╰──────────────────╯
╭─ 4 Commits (1) ────────────────────────╮
│ d81ba5b Initial commit (0 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:stage/unstage a:all c:commit s:stash p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (d81ba5b)
╔═ 2 Files (2) ═══╗
║ Staged: ║
║ M > ile1.txt ║
║ ║
║ Unstaged: ║
║ ?? new-file.txt ║
╚═════════════════╝
╭─ 3 Local (2) ────╮
│ feature-branch │
│ * main │
╰──────────────────╯
╭─ 4 Commits (1) ────────────────────────╮
│ d81ba5b Initial commit (0 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:stage/unstage a:all c:commit s:stash p:pull P:push
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-help && cd /tmp/lazygitclj-e2e-help && bb -
-config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-help/.git/
[main (root-commit) d81ba5b] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch da5a877] Add feature
1 file changed, 1 insertion(+)
create mode 100644 feature.txt
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-help
Starting lazygitclj...
Goodbye!
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-help && cd /tmp/lazygitclj-e2e-help && bb -
-config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-help/.git/
[main (root-commit) d81ba5b] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch da5a877] Add feature
1 file changed, 1 insertion(+)
create mode 100644 feature.txt
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-help
Starting lazygitclj...
Goodbye!
>
────────────────────────────────────────────────────────────────────────────────
Binary file not shown.

After

Width:  |  Height:  |  Size: 271 KiB

File diff suppressed because it is too large Load Diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 520 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

File diff suppressed because it is too large Load Diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 683 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

+943
View File
@@ -0,0 +1,943 @@
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-modal-large && cd /tmp/lazygitclj-e2e-modal-large && bb --config /home/ajet/repos/lazyg
itclj/bb.edn start
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-modal-large && cd /tmp/lazygitclj-e2e-modal-large && bb --config /home/ajet/repos/lazyg
itclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-modal-large/.git/
[main (root-commit) c127d79] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch c25f4cc] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-modal-large
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────────────────────────────────────────────────┐
│ main → c127d79 │ │ diff --git a/file2.txt b/file2.txt │
└────────────────────────────┘ │ index a29bdeb..723650f 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file2.txt │
║ M file2.txt ║ │ +++ b/file2.txt │
║ M file1.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +staged content │
║ ║ │ │
║ ║ │ │
║ ║ │ │
║ ║ │ │
║ ║ │ │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ c127d79 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ └──────────────────────────────────────────────────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────────────────────────────────────────────────┐
│ │ │ │
│ │ │ │
└────────────────────────────┘ └──────────────────────────────────────────────────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────────────────────────────────────────────────┐
│ main → c127d79 │ │ │
└────────────────────────────┘ │ │
┌─ 2 Files (3) ──────────────┐ │ │
│ M file2.txt │ │ │
│ M file1.txt │ │ │
│ ?? newfile.txt │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
╔═ 3 Branches [L] R T ═══════╗ │ │
║ feature-branch ║ │ │
║ * main ║ │ │
║ ║ │ │
║ ║ │ │
║ ║ │ │
║ ║ │ │
║ ║ │ │
║ ║ │ │
║ ║ │ │
╚════════════════════════════╝ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ c127d79 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ └──────────────────────────────────────────────────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────────────────────────────────────────────────┐
│ │ │ │
│ │ │ │
└────────────────────────────┘ └──────────────────────────────────────────────────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav []:tabs n:new d:del p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────────────────────────────────────────────────┐
│ main → c127d79 │ │ │
└────────────────────────────┘ │ │
┌─ 2 Files (3) ──────────────┐ │ │
│ M file2.txt │ │ │
│ M file1.txt │ │ │
│ ?? newfile.txt │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
╔═ 3 Branches [L] R T ═══════╗ │ │
║ feature-branch ║ │ │
║ * main ║ │ │
║ ║ │ │
║ ║ │ │
║ ║ │ │
║ ║ │ │
║ ║ │ │
║ ║ │ │
║ ║ │ │
╚════════════════════════════╝ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ c127d79 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ └──────────────────────────────────────────────────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────────────────────────────────────────────────┐
│ │ │ │
│ │ │ │
└────────────────────────────┘ └──────────────────────────────────────────────────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav []:tabs n:new d:del p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────────────────────────────────────────────────┐
│ main → c127d79 │ │ commit c127d793cea490de325799ba375483edcc007e5f │
└────────────────────────────┘ │ Author: Test User <test@example.com> │
┌─ 2 Files (3) ──────────────┐ │ Date: Wed Jan 21 18:04:17 2026 -0500 │
│ M file2.txt │ │ │
│ M file1.txt │ │ Initial commit │
│ ?? newfile.txt │ │ --- │
│ │ │ README.md | 1 + │
│ │ │ file1.txt | 1 + │
│ │ │ file2.txt | 1 + │
│ │ │ 3 files changed, 3 insertions(+) │
│ │ │ │
│ │ │ diff --git a/README.md b/README.md │
└────────────────────────────┘ │ new file mode 100644 │
┌─ 3 Branches [L] R T ───────┐ │ index 0000000..181e1c3 │
│ feature-branch │ │ --- /dev/null │
│ * main │ │ +++ b/README.md │
│ │ │ @@ -0,0 +1 @@ │
│ │ │ +# Test Project │
│ │ │ diff --git a/file1.txt b/file1.txt │
│ │ │ new file mode 100644 │
│ │ │ index 0000000..a29bdeb │
│ │ │ --- /dev/null │
│ │ │ +++ b/file1.txt │
└────────────────────────────┘ │ @@ -0,0 +1 @@ │
╔═ 4 Commits [C] R ══════════╗ │ +line1 │
║ c127d79 Initial commit ║ │ diff --git a/file2.txt b/file2.txt │
║ ║ │ new file mode 100644 │
║ ║ │ index 0000000..a29bdeb │
║ ║ │ --- /dev/null │
║ ║ │ +++ b/file2.txt │
║ ║ │ @@ -0,0 +1 @@ │
║ ║ │ +line1 │
║ ║ │ │
║ ║ │ │
╚════════════════════════════╝ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ └──────────────────────────────────────────────────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────────────────────────────────────────────────┐
│ │ │ │
│ │ │ │
└────────────────────────────┘ └──────────────────────────────────────────────────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav []:tabs spc:checkout p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────────────────────────────────────────────────┐
│ main → c127d79 │ │ commit c127d793cea490de325799ba375483edcc007e5f │
└────────────────────────────┘ │ Author: Test User <test@example.com> │
┌─ 2 Files (3) ──────────────┐ │ Date: Wed Jan 21 18:04:17 2026 -0500 │
│ M file2.txt │ │ │
│ M file1.txt │ │ Initial commit │
│ ?? newfile.txt │ │ --- │
│ │ │ README.md | 1 + │
│ │ │ file1.txt | 1 + │
│ │ │ file2.txt | 1 + │
│ │ │ 3 files changed, 3 insertions(+) │
│ │ │ │
│ │ │ diff --git a/README.md b/README.md │
└────────────────────────────┘ │ new file mode 100644 │
┌─ 3 Branches [L] R T ───────┐ │ index 0000000..181e1c3 │
│ feature-branch │ │ --- /dev/null │
│ * main │ │ +++ b/README.md │
│ │ │ @@ -0,0 +1 @@ │
│ │ │ +# Test Project │
│ │ │ diff --git a/file1.txt b/file1.txt │
│ │ │ new file mode 100644 │
│ │ │ index 0000000..a29bdeb │
│ │ │ --- /dev/null │
│ │ │ +++ b/file1.txt │
└────────────────────────────┘ │ @@ -0,0 +1 @@ │
╔═ 4 Commits [C] R ══════════╗ │ +line1 │
║ c127d79 Initial commit ║ │ diff --git a/file2.txt b/file2.txt │
║ ║ │ new file mode 100644 │
║ ║ │ index 0000000..a29bdeb │
║ ║ │ --- /dev/null │
║ ║ │ +++ b/file2.txt │
║ ║ │ @@ -0,0 +1 @@ │
║ ║ │ +line1 │
║ ║ │ │
║ ║ │ │
╚════════════════════════════╝ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ └──────────────────────────────────────────────────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────────────────────────────────────────────────┐
│ │ │ │
│ │ │ │
└────────────────────────────┘ └──────────────────────────────────────────────────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav []:tabs spc:checkout p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────────────────────────────────────────────────┐
│ main → c127d79 │ │ commit c127d793cea490de325799ba375483edcc007e5f │
└────────────────────────────┘ │ Author: Test User <test@example.com> │
┌─ 2 Files (3) ──────────────┐ │ Date: Wed Jan 21 18:04:17 2026 -0500 │
│ M file2.txt │ │ │
│ M file1.txt │ │ Initial commit │
│ ?? newfile.txt │ │ --- │
│ │ │ README.md | 1 + │
│ │ │ file1.txt╔═ Help - Keybindings ══════════════════════════════╗ │
│ │ │ file2.txt║ Global: ║ │
│ │ │ 3 files c║ q - Quit r - Refresh ║ │
│ │ │ ║ h/l - Prev/Next panel 2-5 - Jump to panel ║ │
│ │ │ diff --git║ j/k - Move down/up z/Z - Undo/Redo ║ │
└────────────────────────────┘ │ new file m║ p - Pull P - Push ║ │
┌─ 3 Branches [L] R T ───────┐ │ index 0000║ ? - Help D - Reset options ║ │
│ feature-branch │ │ --- /dev/n║ ║ │
│ * main │ │ +++ b/READ║ Files (2): ║ │
│ │ │ @@ -0,0 +1║ space - Stage/unstage a - Stage all ║ │
│ │ │ +# Test Pr║ c - Commit d - Discard file ║ │
│ │ │ diff --git║ s - Quick stash S - Stash options ║ │
│ │ │ new file m║ ║ │
│ │ │ index 0000║ Branches (3): ║ │
│ │ │ --- /dev/n║ [/] - Switch tabs enter - Checkout ║ │
│ │ │ +++ b/file║ n - New branch d - Delete branch ║ │
└────────────────────────────┘ │ @@ -0,0 +1║ R - Rename M - Merge ║ │
╔═ 4 Commits [C] R ══════════╗ │ +line1 ║ f - Fast-forward ║ │
║ c127d79 Initial commit ║ │ diff --git║ ║ │
║ ║ │ new file m║ Commits (4): ║ │
║ ║ │ index 0000║ [/] - Switch tabs space - Checkout ║ │
║ ║ │ --- /dev/n║ g - Reset to C - Cherry-pick ║ │
║ ║ │ +++ b/file║ t - Revert r - Reword (HEAD only) ║ │
║ ║ │ @@ -0,0 +1║ y - Show SHA ║ │
║ ║ │ +line1 ║ ║ │
║ ║ │ ║ Stash (5): ║ │
║ ║ │ ║ space - Apply g - Pop (apply+drop) ║ │
╚════════════════════════════╝ │ ║ d - Drop n - Branch from stash ║ │
┌─ 5 Stash (0) ──────────────┐ │ ║ ║ │
│ No stashes │ │ ║ Press ?, q, or esc to close ║ │
│ │ │ ╚═══════════════════════════════════════════════════╝ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ └──────────────────────────────────────────────────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────────────────────────────────────────────────┐
│ │ │ │
│ │ │ │
└────────────────────────────┘ └──────────────────────────────────────────────────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav []:tabs spc:checkout p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────────────────────────────────────────────────┐
│ main → c127d79 │ │ commit c127d793cea490de325799ba375483edcc007e5f │
└────────────────────────────┘ │ Author: Test User <test@example.com> │
┌─ 2 Files (3) ──────────────┐ │ Date: Wed Jan 21 18:04:17 2026 -0500 │
│ M file2.txt │ │ │
│ M file1.txt │ │ Initial commit │
│ ?? newfile.txt │ │ --- │
│ │ │ README.md | 1 + │
│ │ │ file1.txt╔═ Help - Keybindings ══════════════════════════════╗ │
│ │ │ file2.txt║ Global: ║ │
│ │ │ 3 files c║ q - Quit r - Refresh ║ │
│ │ │ ║ h/l - Prev/Next panel 2-5 - Jump to panel ║ │
│ │ │ diff --git║ j/k - Move down/up z/Z - Undo/Redo ║ │
└────────────────────────────┘ │ new file m║ p - Pull P - Push ║ │
┌─ 3 Branches [L] R T ───────┐ │ index 0000║ ? - Help D - Reset options ║ │
│ feature-branch │ │ --- /dev/n║ ║ │
│ * main │ │ +++ b/READ║ Files (2): ║ │
│ │ │ @@ -0,0 +1║ space - Stage/unstage a - Stage all ║ │
│ │ │ +# Test Pr║ c - Commit d - Discard file ║ │
│ │ │ diff --git║ s - Quick stash S - Stash options ║ │
│ │ │ new file m║ ║ │
│ │ │ index 0000║ Branches (3): ║ │
│ │ │ --- /dev/n║ [/] - Switch tabs enter - Checkout ║ │
│ │ │ +++ b/file║ n - New branch d - Delete branch ║ │
└────────────────────────────┘ │ @@ -0,0 +1║ R - Rename M - Merge ║ │
╔═ 4 Commits [C] R ══════════╗ │ +line1 ║ f - Fast-forward ║ │
║ c127d79 Initial commit ║ │ diff --git║ ║ │
║ ║ │ new file m║ Commits (4): ║ │
║ ║ │ index 0000║ [/] - Switch tabs space - Checkout ║ │
║ ║ │ --- /dev/n║ g - Reset to C - Cherry-pick ║ │
║ ║ │ +++ b/file║ t - Revert r - Reword (HEAD only) ║ │
║ ║ │ @@ -0,0 +1║ y - Show SHA ║ │
║ ║ │ +line1 ║ ║ │
║ ║ │ ║ Stash (5): ║ │
║ ║ │ ║ space - Apply g - Pop (apply+drop) ║ │
╚════════════════════════════╝ │ ║ d - Drop n - Branch from stash ║ │
┌─ 5 Stash (0) ──────────────┐ │ ║ ║ │
│ No stashes │ │ ║ Press ?, q, or esc to close ║ │
│ │ │ ╚═══════════════════════════════════════════════════╝ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ └──────────────────────────────────────────────────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────────────────────────────────────────────────┐
│ │ │ │
│ │ │ │
└────────────────────────────┘ └──────────────────────────────────────────────────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav []:tabs spc:checkout p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────────────────────────────────────────────────┐
│ main → c127d79 │ │ commit c127d793cea490de325799ba375483edcc007e5f │
└────────────────────────────┘ │ Author: Test User <test@example.com> │
┌─ 2 Files (3) ──────────────┐ │ Date: Wed Jan 21 18:04:17 2026 -0500 │
│ M file2.txt │ │ │
│ M file1.txt │ │ Initial commit │
│ ?? newfile.txt │ │ --- │
│ │ │ README.md | 1 + │
│ │ │ file1.txt╔═ Help - Keybindings ══════════════════════════════╗ │
│ │ │ file2.txt║ Global: ║ │
│ │ │ 3 files c║ q - Quit r - Refresh ║ │
│ │ │ ║ h/l - Prev/Next panel 2-5 - Jump to panel ║ │
│ │ │ diff --git║ j/k - Move down/up z/Z - Undo/Redo ║ │
└────────────────────────────┘ │ new file m║ p - Pull P - Push ║ │
┌─ 3 Branches [L] R T ───────┐ │ index 0000║ ? - Help D - Reset options ║ │
│ feature-branch │ │ --- /dev/n║ ║ │
│ * main │ │ +++ b/READ║ Files (2): ║ │
│ │ │ @@ -0,0 +1║ space - Stage/unstage a - Stage all ║ │
│ │ │ +# Test Pr║ c - Commit d - Discard file ║ │
│ │ │ diff --git║ s - Quick stash S - Stash options ║ │
│ │ │ new file m║ ║ │
│ │ │ index 0000║ Branches (3): ║ │
│ │ │ --- /dev/n║ [/] - Switch tabs enter - Checkout ║ │
│ │ │ +++ b/file║ n - New branch d - Delete branch ║ │
└────────────────────────────┘ │ @@ -0,0 +1║ R - Rename M - Merge ║ │
╔═ 4 Commits [C] R ══════════╗ │ +line1 ║ f - Fast-forward ║ │
║ c127d79 Initial commit ║ │ diff --git║ ║ │
║ ║ │ new file m║ Commits (4): ║ │
║ ║ │ index 0000║ [/] - Switch tabs space - Checkout ║ │
║ ║ │ --- /dev/n║ g - Reset to C - Cherry-pick ║ │
║ ║ │ +++ b/file║ t - Revert r - Reword (HEAD only) ║ │
║ ║ │ @@ -0,0 +1║ y - Show SHA ║ │
║ ║ │ +line1 ║ ║ │
║ ║ │ ║ Stash (5): ║ │
║ ║ │ ║ space - Apply g - Pop (apply+drop) ║ │
╚════════════════════════════╝ │ ║ d - Drop n - Branch from stash ║ │
┌─ 5 Stash (0) ──────────────┐ │ ║ ║ │
│ No stashes │ │ ║ Press ?, q, or esc to close ║ │
│ │ │ ╚═══════════════════════════════════════════════════╝ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ └──────────────────────────────────────────────────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────────────────────────────────────────────────┐
│ │ │ │
│ │ │ │
└────────────────────────────┘ └──────────────────────────────────────────────────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav []:tabs spc:checkout p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────────────────────────────────────────────────┐
│ main → c127d79 │ │ commit c127d793cea490de325799ba375483edcc007e5f │
└────────────────────────────┘ │ Author: Test User <test@example.com> │
┌─ 2 Files (3) ──────────────┐ │ Date: Wed Jan 21 18:04:17 2026 -0500 │
│ M file2.txt │ │ │
│ M file1.txt │ │ Initial commit │
│ ?? newfile.txt │ │ --- │
│ │ │ README.md | 1 + │
│ │ │ file1.txt | 1 + │
│ │ │ file2.txt | 1 + │
│ │ │ 3 files changed, 3 insertions(+) │
│ │ │ │
│ │ │ diff --git a/README.md b/README.md │
└────────────────────────────┘ │ new file mode 100644 │
┌─ 3 Branches [L] R T ───────┐ │ index 0000000..181e1c3 │
│ feature-branch │ │ --- /dev/null │
│ * main │ │ +++ b/README.md │
│ │ │ @@ -0,0 +1 @@ │
│ │ │ +# Test Project │
│ │ │ diff --git a/file1.txt b/file1.txt │
│ │ │ new file mode 100644 │
│ │ │ index 0000000..a29bdeb │
│ │ │ --- /dev/null │
│ │ │ +++ b/file1.txt │
└────────────────────────────┘ │ @@ -0,0 +1 @@ │
╔═ 4 Commits [C] R ══════════╗ │ +line1 │
║ c127d79 Initial commit ║ │ diff --git a/file2.txt b/file2.txt │
║ ║ │ new file mode 100644 │
║ ║ │ index 0000000..a29bdeb │
║ ║ │ --- /dev/null │
║ ║ │ +++ b/file2.txt │
║ ║ │ @@ -0,0 +1 @@ │
║ ║ │ +line1 │
║ ║ │ │
║ ║ │ │
╚════════════════════════════╝ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ └──────────────────────────────────────────────────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────────────────────────────────────────────────┐
│ │ │ │
│ │ │ │
└────────────────────────────┘ └──────────────────────────────────────────────────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav []:tabs spc:checkout p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-modal-large && cd /tmp/lazygitclj-e2e-modal-large && bb --config /home/ajet/repos/lazyg
itclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-modal-large/.git/
[main (root-commit) c127d79] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch c25f4cc] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-modal-large
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
Starting lazygitclj...
Goodbye!
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-modal-large && cd /tmp/lazygitclj-e2e-modal-large && bb --config /home/ajet/repos/lazyg
itclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-modal-large/.git/
[main (root-commit) c127d79] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch c25f4cc] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-modal-large
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
Starting lazygitclj...
Goodbye!
>
────────────────────────────────────────────────────────────────────────────────
Binary file not shown.

After

Width:  |  Height:  |  Size: 315 KiB

+696
View File
@@ -0,0 +1,696 @@
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/la
zygitclj-e2e-modal-narrow && cd /tmp/la
zygitclj-e2e-modal-narrow && bb --confi
g /home/ajet/repos/lazygitclj/bb.edn st
art
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/la
zygitclj-e2e-modal-narrow && cd /tmp/la
zygitclj-e2e-modal-narrow && bb --confi
g /home/ajet/repos/lazygitclj/bb.edn st
art
Initialized empty Git repository in /tm
p/lazygitclj-e2e-modal-narrow/.git/
[main (root-commit) c0156f0] Initial co
mmit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branc
h'
[feature-branch 229b261] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2
e-modal-narrow
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ──────────────────────────┐
│ main → c0156f0 │
└─────────────────────────────────────┘
╔═ 2 Files (3) ═══════════════════════╗
║ M file2.txt ║
║ M file1.txt ║
╚═════════════════════════════════════╝
┌─ 3 Branches [L] R T ────────────────┐
│ feature-branch │
│ * main │
└─────────────────────────────────────┘
┌─ 4 Commits [C] R ───────────────────┐
│ c0156f0 Initial commit │
│ │
└─────────────────────────────────────┘
┌─ 5 Stash (0) ───────────────────────┐
│ No stashes │
└─────────────────────────────────────┘
┌─ 0 Main ────────────────────────────┐
│ diff --git a/file2.txt b/file2.txt │
│ index a29bdeb..723650f 100644 │
└─────────────────────────────────────┘
┌─ Command Log ───────────────────────┐
│ │
│ │
└─────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:st
age a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ──────────────────────────┐
│ main → c0156f0 │
└─────────────────────────────────────┘
┌─ 2 Files (3) ───────────────────────┐
│ M file2.txt │
│ M file1.txt │
└─────────────────────────────────────┘
╔═ 3 Branches [L] R T ════════════════╗
║ feature-branch ║
║ * main ║
╚═════════════════════════════════════╝
┌─ 4 Commits [C] R ───────────────────┐
│ c0156f0 Initial commit │
│ │
└─────────────────────────────────────┘
┌─ 5 Stash (0) ───────────────────────┐
│ No stashes │
└─────────────────────────────────────┘
┌─ 0 Main ────────────────────────────┐
│ │
│ │
└─────────────────────────────────────┘
┌─ Command Log ───────────────────────┐
│ │
│ │
└─────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav []:tab
s n:new d:del p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ──────────────────────────┐
│ main → c0156f0 │
└─────────────────────────────────────┘
┌─ 2 Files (3) ───────────────────────┐
│ M file2.txt │
│ M file1.txt │
└─────────────────────────────────────┘
╔═ 3 Branches [L] R T ════════════════╗
║ feature-branch ║
║ * main ║
╚═════════════════════════════════════╝
┌─ 4 Commits [C] R ───────────────────┐
│ c0156f0 Initial commit │
│ │
└─────────────────────────────────────┘
┌─ 5 Stash (0) ───────────────────────┐
│ No stashes │
└─────────────────────────────────────┘
┌─ 0 Main ────────────────────────────┐
│ │
│ │
└─────────────────────────────────────┘
┌─ Command Log ───────────────────────┐
│ │
│ │
└─────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav []:tab
s n:new d:del p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ──────────────────────────┐
│ main → c0156f0 │
└─────────────────────────────────────┘
┌─ 2 Files (3) ───────────────────────┐
│ M file2.txt │
│ M file1.txt │
└─────────────────────────────────────┘
┌─ 3 Branches [L] R T ────────────────┐
│ feature-branch │
│ * main │
└─────────────────────────────────────┘
╔═ 4 Commits [C] R ═══════════════════╗
║ c0156f0 Initial commit ║
║ ║
╚═════════════════════════════════════╝
┌─ 5 Stash (0) ───────────────────────┐
│ No stashes │
└─────────────────────────────────────┘
┌─ 0 Main ────────────────────────────┐
│ commit c0156f02c655f17932d5381166975c
5355a50ff3 │
│ Author: Test User <test@example.com>
└─────────────────────────────────────┘
┌─ Command Log ───────────────────────┐
│ │
│ │
└─────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav []:tab
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ──────────────────────────┐
│ main → c0156f0 │
└─────────────────────────────────────┘
┌─ 2 Files (3) ───────────────────────┐
│ M file2.txt │
│ M file1.txt │
└─────────────────────────────────────┘
┌─ 3 Branches [L] R T ────────────────┐
│ feature-branch │
│ * main │
└─────────────────────────────────────┘
╔═ 4 Commits [C] R ═══════════════════╗
║ c0156f0 Initial commit ║
║ ║
╚═════════════════════════════════════╝
┌─ 5 Stash (0) ───────────────────────┐
│ No stashes │
└─────────────────────────────────────┘
┌─ 0 Main ────────────────────────────┐
│ commit c0156f02c655f17932d5381166975c
5355a50ff3 │
│ Author: Test User <test@example.com>
└─────────────────────────────────────┘
┌─ Command Log ───────────────────────┐
│ │
│ │
└─────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav []:tab
────────────────────────────────────────────────────────────────────────────────
║ h/l - Prev/Next panel 2-5 - Jump
to panel ║
║ j/k - Move down/up z/Z - Undo
/Redo ║
║ p - Pull P - Push
║ ? - Help D - Reset
options ║
║ Files (2):
║ space - Stage/unstage a - Stage
all ║
║ c - Commit d - Discar
d file ║
║ s - Quick stash S - Stash
options ║
║ Branches (3):
║ [/] - Switch tabs enter - Ch
eckout ║
║ n - New branch d - Delete
branch ║
║ R - Rename M - Merge
║ f - Fast-forward
────────────────────────────────────────────────────────────────────────────────
║ h/l - Prev/Next panel 2-5 - Jump
to panel ║
║ j/k - Move down/up z/Z - Undo
/Redo ║
║ p - Pull P - Push
║ ? - Help D - Reset
options ║
║ Files (2):
║ space - Stage/unstage a - Stage
all ║
║ c - Commit d - Discar
d file ║
║ s - Quick stash S - Stash
options ║
║ Branches (3):
║ [/] - Switch tabs enter - Ch
eckout ║
║ n - New branch d - Delete
branch ║
║ R - Rename M - Merge
║ f - Fast-forward
────────────────────────────────────────────────────────────────────────────────
║ h/l - Prev/Next panel 2-5 - Jump
to panel ║
║ j/k - Move down/up z/Z - Undo
/Redo ║
║ p - Pull P - Push
║ ? - Help D - Reset
options ║
║ Files (2):
║ space - Stage/unstage a - Stage
all ║
║ c - Commit d - Discar
d file ║
║ s - Quick stash S - Stash
options ║
║ Branches (3):
║ [/] - Switch tabs enter - Ch
eckout ║
║ n - New branch d - Delete
branch ║
║ R - Rename M - Merge
║ f - Fast-forward
────────────────────────────────────────────────────────────────────────────────
to panel ║
║ j/k - Move down/up z/Z - Undo
/Redo ║
║ p - Pull P - Push
║ ? - Help D - Reset
options ║
║ Files (2):
║ space - Stage/unstage a - Stage
all ║
║ c - Commit d - Discar
d file ║
║ s - Quick stash S - Stash
options ║
║ Branches (3):
║ [/] - Switch tabs enter - Ch
┌─ 1 Status ──────────────────────────┐
│ main → c0156f0 │
└─────────────────────────────────────┘
┌─ 2 Files (3) ───────────────────────┐
│ M file2.txt │
│ M file1.txt │
└─────────────────────────────────────┘
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/la
zygitclj-e2e-modal-narrow && cd /tmp/la
zygitclj-e2e-modal-narrow && bb --confi
g /home/ajet/repos/lazygitclj/bb.edn st
art
Initialized empty Git repository in /tm
p/lazygitclj-e2e-modal-narrow/.git/
[main (root-commit) c0156f0] Initial co
mmit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branc
h'
[feature-branch 229b261] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2
e-modal-narrow
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
Starting lazygitclj...
Goodbye!
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/la
zygitclj-e2e-modal-narrow && cd /tmp/la
zygitclj-e2e-modal-narrow && bb --confi
g /home/ajet/repos/lazygitclj/bb.edn st
art
Initialized empty Git repository in /tm
p/lazygitclj-e2e-modal-narrow/.git/
[main (root-commit) c0156f0] Initial co
mmit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branc
h'
[feature-branch 229b261] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2
e-modal-narrow
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
Starting lazygitclj...
Goodbye!
>
────────────────────────────────────────────────────────────────────────────────
Binary file not shown.

After

Width:  |  Height:  |  Size: 253 KiB

+527
View File
@@ -0,0 +1,527 @@
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2
e-modal-small && cd /tmp/lazygitclj-e2e-modal-smal
l && bb --config /home/ajet/repos/lazygitclj/bb.ed
n start
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2
e-modal-small && cd /tmp/lazygitclj-e2e-modal-smal
l && bb --config /home/ajet/repos/lazygitclj/bb.ed
n start
Initialized empty Git repository in /tmp/lazygitcl
j-e2e-modal-small/.git/
[main (root-commit) 5555bdd] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 15c0d8c] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-modal-sma
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → 5555bdd │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
╚════════════════════════════════════════════════╝
┌─ 3 Branches [L] R T ───────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 4 Commits [C] R ──────────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 5 Stash (0) ──────────────────────────────────┐
│ No stashes │
└────────────────────────────────────────────────┘
┌─ 0 Main ───────────────────────────────────────┐
└────────────────────────────────────────────────┘
┌─ Command Log ──────────────────────────────────┐
│ │
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → 5555bdd │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
┌─ 1 Status ─────────────────────────────────────┐
│ main → 5555bdd │
└────────────────────────────────────────────────┘
┌─ 2 Files (3) ──────────────────────────────────┐
└────────────────────────────────────────────────┘
╔═ 3 Branches [L] R T ═══════════════════════════╗
╚════════════════════════════════════════════════╝
┌─ 4 Commits [C] R ──────────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 5 Stash (0) ──────────────────────────────────┐
│ No stashes │
└────────────────────────────────────────────────┘
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → 5555bdd │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
┌─ 1 Status ─────────────────────────────────────┐
│ main → 5555bdd │
└────────────────────────────────────────────────┘
┌─ 2 Files (3) ──────────────────────────────────┐
└────────────────────────────────────────────────┘
╔═ 3 Branches [L] R T ═══════════════════════════╗
╚════════════════════════════════════════════════╝
┌─ 4 Commits [C] R ──────────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 5 Stash (0) ──────────────────────────────────┐
│ No stashes │
└────────────────────────────────────────────────┘
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → 5555bdd │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
┌─ 1 Status ─────────────────────────────────────┐
│ main → 5555bdd │
└────────────────────────────────────────────────┘
┌─ 2 Files (3) ──────────────────────────────────┐
┌─ 1 Status ─────────────────────────────────────┐
│ main → 5555bdd │
└────────────────────────────────────────────────┘
┌─ 2 Files (3) ──────────────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 3 Branches [L] R T ───────────────────────────┐
└────────────────────────────────────────────────┘
╔═ 4 Commits [C] R ══════════════════════════════╗
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → 5555bdd │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
┌─ 1 Status ─────────────────────────────────────┐
│ main → 5555bdd │
└────────────────────────────────────────────────┘
┌─ 2 Files (3) ──────────────────────────────────┐
┌─ 1 Status ─────────────────────────────────────┐
│ main → 5555bdd │
└────────────────────────────────────────────────┘
┌─ 2 Files (3) ──────────────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 3 Branches [L] R T ───────────────────────────┐
└────────────────────────────────────────────────┘
╔═ 4 Commits [C] R ══════════════════════════════╗
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → 5555bdd │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
┌─ 1 Status ─────────────────────────────────────┐
│ main → 5555bdd │
└────────────────────────────────────────────────┘
┌─ 2 Files (3) ──────────────────────────────────┐
┌─ 1 Status ─────────────────────────────────────┐
│ main → 5555bdd │
└────────────────────────────────────────────────┘
┌─ 2 Files (3) ──────────────────────────────────┐
╔═ Help - Keybindings ════════════════════════════
══╗
║ Global:
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → 5555bdd │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
┌─ 1 Status ─────────────────────────────────────┐
│ main → 5555bdd │
└────────────────────────────────────────────────┘
┌─ 2 Files (3) ──────────────────────────────────┐
┌─ 1 Status ─────────────────────────────────────┐
│ main → 5555bdd │
└────────────────────────────────────────────────┘
┌─ 2 Files (3) ──────────────────────────────────┐
╔═ Help - Keybindings ════════════════════════════
══╗
║ Global:
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → 5555bdd │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
┌─ 1 Status ─────────────────────────────────────┐
│ main → 5555bdd │
└────────────────────────────────────────────────┘
┌─ 2 Files (3) ──────────────────────────────────┐
┌─ 1 Status ─────────────────────────────────────┐
│ main → 5555bdd │
└────────────────────────────────────────────────┘
┌─ 2 Files (3) ──────────────────────────────────┐
╔═ Help - Keybindings ════════════════════════════
══╗
║ Global:
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → 5555bdd │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
┌─ 1 Status ─────────────────────────────────────┐
│ main → 5555bdd │
└────────────────────────────────────────────────┘
┌─ 2 Files (3) ──────────────────────────────────┐
┌─ 1 Status ─────────────────────────────────────┐
│ main → 5555bdd │
└────────────────────────────────────────────────┘
┌─ 2 Files (3) ──────────────────────────────────┐
╔═ Help - Keybindings ════════════════════════════
══╗
║ Global:
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2
e-modal-small && cd /tmp/lazygitclj-e2e-modal-smal
l && bb --config /home/ajet/repos/lazygitclj/bb.ed
n start
Initialized empty Git repository in /tmp/lazygitcl
j-e2e-modal-small/.git/
[main (root-commit) 5555bdd] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 15c0d8c] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-modal-sma
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2
e-modal-small && cd /tmp/lazygitclj-e2e-modal-smal
l && bb --config /home/ajet/repos/lazygitclj/bb.ed
n start
Initialized empty Git repository in /tmp/lazygitcl
j-e2e-modal-small/.git/
[main (root-commit) 5555bdd] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 15c0d8c] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-modal-sma
────────────────────────────────────────────────────────────────────────────────
Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

+696
View File
@@ -0,0 +1,696 @@
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-modal && cd /tmp/lazygitclj-e2e-modal && bb
--config /home/ajet/repos/lazygitclj/bb.edn start
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-modal && cd /tmp/lazygitclj-e2e-modal && bb
--config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-modal/.git/
[main (root-commit) 95bc2ab] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch ffa41af] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-modal
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 95bc2ab │ │ diff --git a/file2.txt b/file2.txt │
└────────────────────────────┘ │ index a29bdeb..723650f 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file2.txt │
║ M file2.txt ║ │ +++ b/file2.txt │
║ M file1.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +staged content │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ 95bc2ab Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 95bc2ab │ │ │
└────────────────────────────┘ │ │
┌─ 2 Files (3) ──────────────┐ │ │
│ M file2.txt │ │ │
│ M file1.txt │ │ │
│ ?? newfile.txt │ │ │
│ │ │ │
└────────────────────────────┘ │ │
╔═ 3 Branches [L] R T ═══════╗ │ │
║ feature-branch ║ │ │
║ * main ║ │ │
║ ║ │ │
║ ║ │ │
╚════════════════════════════╝ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ 95bc2ab Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav []:tabs n:new d:del p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 95bc2ab │ │ │
└────────────────────────────┘ │ │
┌─ 2 Files (3) ──────────────┐ │ │
│ M file2.txt │ │ │
│ M file1.txt │ │ │
│ ?? newfile.txt │ │ │
│ │ │ │
└────────────────────────────┘ │ │
╔═ 3 Branches [L] R T ═══════╗ │ │
║ feature-branch ║ │ │
║ * main ║ │ │
║ ║ │ │
║ ║ │ │
╚════════════════════════════╝ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ 95bc2ab Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav []:tabs n:new d:del p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 95bc2ab │ │ commit 95bc2abf2b2afa44d77bb468eabbc44e550b85f4 │
└────────────────────────────┘ │ Author: Test User <test@example.com> │
┌─ 2 Files (3) ──────────────┐ │ Date: Wed Jan 21 17:54:56 2026 -0500 │
│ M file2.txt │ │ │
│ M file1.txt │ │ Initial commit │
│ ?? newfile.txt │ │ --- │
│ │ │ README.md | 1 + │
└────────────────────────────┘ │ file1.txt | 1 + │
┌─ 3 Branches [L] R T ───────┐ │ file2.txt | 1 + │
│ feature-branch │ │ 3 files changed, 3 insertions(+) │
│ * main │ │ │
│ │ │ diff --git a/README.md b/README.md │
│ │ │ new file mode 100644 │
└────────────────────────────┘ │ index 0000000..181e1c3 │
╔═ 4 Commits [C] R ══════════╗ │ --- /dev/null │
║ 95bc2ab Initial commit ║ │ +++ b/README.md │
║ ║ │ @@ -0,0 +1 @@ │
║ ║ │ +# Test Project │
║ ║ │ diff --git a/file1.txt b/file1.txt │
╚════════════════════════════╝ │ new file mode 100644 │
┌─ 5 Stash (0) ──────────────┐ │ index 0000000..a29bdeb │
│ No stashes │ │ --- /dev/null │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav []:tabs spc:checkout p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 95bc2ab │ │ commit 95bc2abf2b2afa44d77bb468eabbc44e550b85f4 │
└────────────────────────────┘ │ Author: Test User <test@example.com> │
┌─ 2 Files (3) ──────────────┐ │ Date: Wed Jan 21 17:54:56 2026 -0500 │
│ M file2.txt │ │ │
│ M file1.txt │ │ Initial commit │
│ ?? newfile.txt │ │ --- │
│ │ │ README.md | 1 + │
└────────────────────────────┘ │ file1.txt | 1 + │
┌─ 3 Branches [L] R T ───────┐ │ file2.txt | 1 + │
│ feature-branch │ │ 3 files changed, 3 insertions(+) │
│ * main │ │ │
│ │ │ diff --git a/README.md b/README.md │
│ │ │ new file mode 100644 │
└────────────────────────────┘ │ index 0000000..181e1c3 │
╔═ 4 Commits [C] R ══════════╗ │ --- /dev/null │
║ 95bc2ab Initial commit ║ │ +++ b/README.md │
║ ║ │ @@ -0,0 +1 @@ │
║ ║ │ +# Test Project │
║ ║ │ diff --git a/file1.txt b/file1.txt │
╚════════════════════════════╝ │ new file mode 100644 │
┌─ 5 Stash (0) ──────────────┐ │ index 0000000..a29bdeb │
│ No stashes │ │ --- /dev/null │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav []:tabs spc:checkout p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────╔═ Help - Keybindings ══════════════════════════════╗────────────────────┐
│ main → 95bc2ab ║ Global: ║0b85f4 │
└────────────────────║ q - Quit r - Refresh ║ │
┌─ 2 Files (3) ──────║ h/l - Prev/Next panel 2-5 - Jump to panel ║ │
│ M file2.txt ║ j/k - Move down/up z/Z - Undo/Redo ║ │
│ M file1.txt ║ p - Pull P - Push ║ │
│ ?? newfile.txt ║ ? - Help D - Reset options ║ │
│ ║ ║ │
└────────────────────║ Files (2): ║ │
┌─ 3 Branches [L] R T║ space - Stage/unstage a - Stage all ║ │
│ feature-branch ║ c - Commit d - Discard file ║ │
│ * main ║ s - Quick stash S - Stash options ║ │
│ ║ ║ │
│ ║ Branches (3): ║ │
└────────────────────║ [/] - Switch tabs enter - Checkout ║ │
╔═ 4 Commits [C] R ══║ n - New branch d - Delete branch ║ │
║ 95bc2ab Initial com║ R - Rename M - Merge ║ │
║ ║ f - Fast-forward ║ │
║ ║ ║ │
║ ║ Commits (4): ║ │
╚════════════════════║ [/] - Switch tabs space - Checkout ║ │
┌─ 5 Stash (0) ──────║ g - Reset to C - Cherry-pick ║ │
│ No stashes ║ t - Revert r - Reword (HEAD only) ║ │
│ ║ y - Show SHA ║────────────────────┘
│ ║ ║────────────────────┐
│ ║ Stash (5): ║ │
└────────────────────║ space - Apply g - Pop (apply+drop) ║ │
║ d - Drop n - Branch from stash ║────────────────────┘
q:quit ?:help h/l:pan║ ║
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────╔═ Help - Keybindings ══════════════════════════════╗────────────────────┐
│ main → 95bc2ab ║ Global: ║0b85f4 │
└────────────────────║ q - Quit r - Refresh ║ │
┌─ 2 Files (3) ──────║ h/l - Prev/Next panel 2-5 - Jump to panel ║ │
│ M file2.txt ║ j/k - Move down/up z/Z - Undo/Redo ║ │
│ M file1.txt ║ p - Pull P - Push ║ │
│ ?? newfile.txt ║ ? - Help D - Reset options ║ │
│ ║ ║ │
└────────────────────║ Files (2): ║ │
┌─ 3 Branches [L] R T║ space - Stage/unstage a - Stage all ║ │
│ feature-branch ║ c - Commit d - Discard file ║ │
│ * main ║ s - Quick stash S - Stash options ║ │
│ ║ ║ │
│ ║ Branches (3): ║ │
└────────────────────║ [/] - Switch tabs enter - Checkout ║ │
╔═ 4 Commits [C] R ══║ n - New branch d - Delete branch ║ │
║ 95bc2ab Initial com║ R - Rename M - Merge ║ │
║ ║ f - Fast-forward ║ │
║ ║ ║ │
║ ║ Commits (4): ║ │
╚════════════════════║ [/] - Switch tabs space - Checkout ║ │
┌─ 5 Stash (0) ──────║ g - Reset to C - Cherry-pick ║ │
│ No stashes ║ t - Revert r - Reword (HEAD only) ║ │
│ ║ y - Show SHA ║────────────────────┘
│ ║ ║────────────────────┐
│ ║ Stash (5): ║ │
└────────────────────║ space - Apply g - Pop (apply+drop) ║ │
║ d - Drop n - Branch from stash ║────────────────────┘
q:quit ?:help h/l:pan║ ║
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────╔═ Help - Keybindings ══════════════════════════════╗────────────────────┐
│ main → 95bc2ab ║ Global: ║0b85f4 │
└────────────────────║ q - Quit r - Refresh ║ │
┌─ 2 Files (3) ──────║ h/l - Prev/Next panel 2-5 - Jump to panel ║ │
│ M file2.txt ║ j/k - Move down/up z/Z - Undo/Redo ║ │
│ M file1.txt ║ p - Pull P - Push ║ │
│ ?? newfile.txt ║ ? - Help D - Reset options ║ │
│ ║ ║ │
└────────────────────║ Files (2): ║ │
┌─ 3 Branches [L] R T║ space - Stage/unstage a - Stage all ║ │
│ feature-branch ║ c - Commit d - Discard file ║ │
│ * main ║ s - Quick stash S - Stash options ║ │
│ ║ ║ │
│ ║ Branches (3): ║ │
└────────────────────║ [/] - Switch tabs enter - Checkout ║ │
╔═ 4 Commits [C] R ══║ n - New branch d - Delete branch ║ │
║ 95bc2ab Initial com║ R - Rename M - Merge ║ │
║ ║ f - Fast-forward ║ │
║ ║ ║ │
║ ║ Commits (4): ║ │
╚════════════════════║ [/] - Switch tabs space - Checkout ║ │
┌─ 5 Stash (0) ──────║ g - Reset to C - Cherry-pick ║ │
│ No stashes ║ t - Revert r - Reword (HEAD only) ║ │
│ ║ y - Show SHA ║────────────────────┘
│ ║ ║────────────────────┐
│ ║ Stash (5): ║ │
└────────────────────║ space - Apply g - Pop (apply+drop) ║ │
║ d - Drop n - Branch from stash ║────────────────────┘
q:quit ?:help h/l:pan║ ║
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 95bc2ab │ │ commit 95bc2abf2b2afa44d77bb468eabbc44e550b85f4 │
└────────────────────────────┘ │ Author: Test User <test@example.com> │
┌─ 2 Files (3) ──────────────┐ │ Date: Wed Jan 21 17:54:56 2026 -0500 │
│ M file2.txt │ │ │
│ M file1.txt │ │ Initial commit │
│ ?? newfile.txt │ │ --- │
│ │ │ README.md | 1 + │
└────────────────────────────┘ │ file1.txt | 1 + │
┌─ 3 Branches [L] R T ───────┐ │ file2.txt | 1 + │
│ feature-branch │ │ 3 files changed, 3 insertions(+) │
│ * main │ │ │
│ │ │ diff --git a/README.md b/README.md │
│ │ │ new file mode 100644 │
└────────────────────────────┘ │ index 0000000..181e1c3 │
╔═ 4 Commits [C] R ══════════╗ │ --- /dev/null │
║ 95bc2ab Initial commit ║ │ +++ b/README.md │
║ ║ │ @@ -0,0 +1 @@ │
║ ║ │ +# Test Project │
║ ║ │ diff --git a/file1.txt b/file1.txt │
╚════════════════════════════╝ │ new file mode 100644 │
┌─ 5 Stash (0) ──────────────┐ │ index 0000000..a29bdeb │
│ No stashes │ │ --- /dev/null │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav []:tabs spc:checkout p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-modal && cd /tmp/lazygitclj-e2e-modal && bb
--config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-modal/.git/
[main (root-commit) 95bc2ab] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch ffa41af] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-modal
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
Starting lazygitclj...
Goodbye!
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-modal && cd /tmp/lazygitclj-e2e-modal && bb
--config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-modal/.git/
[main (root-commit) 95bc2ab] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch ffa41af] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-modal
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
Starting lazygitclj...
Goodbye!
>
────────────────────────────────────────────────────────────────────────────────
Binary file not shown.

After

Width:  |  Height:  |  Size: 308 KiB

+531
View File
@@ -0,0 +1,531 @@
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2
e-scroll && cd /tmp/lazygitclj-e2e-scroll && bb --
config /home/ajet/repos/lazygitclj/bb.edn start
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2
e-scroll && cd /tmp/lazygitclj-e2e-scroll && bb --
config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitcl
j-e2e-scroll/.git/
[main (root-commit) de5dd2a] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → de5dd2a │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
╚════════════════════════════════════════════════╝
┌─ 3 Branches [L] R T ───────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 4 Commits [C] R ──────────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 5 Stash (0) ──────────────────────────────────┐
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → de5dd2a │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
╚════════════════════════════════════════════════╝
┌─ 3 Branches [L] R T ───────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 4 Commits [C] R ──────────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 5 Stash (0) ──────────────────────────────────┐
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → de5dd2a │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
╚════════════════════════════════════════════════╝
┌─ 3 Branches [L] R T ───────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 4 Commits [C] R ──────────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 5 Stash (0) ──────────────────────────────────┐
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → de5dd2a │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
╚════════════════════════════════════════════════╝
┌─ 3 Branches [L] R T ───────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 4 Commits [C] R ──────────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 5 Stash (0) ──────────────────────────────────┐
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → de5dd2a │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
╚════════════════════════════════════════════════╝
┌─ 3 Branches [L] R T ───────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 4 Commits [C] R ──────────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 5 Stash (0) ──────────────────────────────────┐
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → de5dd2a │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
╚════════════════════════════════════════════════╝
┌─ 3 Branches [L] R T ───────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 4 Commits [C] R ──────────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 5 Stash (0) ──────────────────────────────────┐
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → de5dd2a │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
╚════════════════════════════════════════════════╝
┌─ 3 Branches [L] R T ───────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 4 Commits [C] R ──────────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 5 Stash (0) ──────────────────────────────────┐
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → de5dd2a │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
╚════════════════════════════════════════════════╝
┌─ 3 Branches [L] R T ───────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 4 Commits [C] R ──────────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 5 Stash (0) ──────────────────────────────────┐
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → de5dd2a │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
╚════════════════════════════════════════════════╝
┌─ 3 Branches [L] R T ───────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 4 Commits [C] R ──────────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 5 Stash (0) ──────────────────────────────────┐
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → de5dd2a │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
╚════════════════════════════════════════════════╝
┌─ 3 Branches [L] R T ───────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 4 Commits [C] R ──────────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 5 Stash (0) ──────────────────────────────────┐
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → de5dd2a │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
╚════════════════════════════════════════════════╝
┌─ 3 Branches [L] R T ───────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 4 Commits [C] R ──────────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 5 Stash (0) ──────────────────────────────────┐
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → de5dd2a │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
╚════════════════════════════════════════════════╝
┌─ 3 Branches [L] R T ───────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 4 Commits [C] R ──────────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 5 Stash (0) ──────────────────────────────────┐
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → de5dd2a │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
╚════════════════════════════════════════════════╝
┌─ 3 Branches [L] R T ───────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 4 Commits [C] R ──────────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 5 Stash (0) ──────────────────────────────────┐
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → de5dd2a │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
╚════════════════════════════════════════════════╝
┌─ 3 Branches [L] R T ───────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 4 Commits [C] R ──────────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 5 Stash (0) ──────────────────────────────────┐
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → de5dd2a │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
╚════════════════════════════════════════════════╝
┌─ 3 Branches [L] R T ───────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 4 Commits [C] R ──────────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 5 Stash (0) ──────────────────────────────────┐
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → de5dd2a │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
╚════════════════════════════════════════════════╝
┌─ 3 Branches [L] R T ───────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 4 Commits [C] R ──────────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 5 Stash (0) ──────────────────────────────────┐
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → de5dd2a │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
╚════════════════════════════════════════════════╝
┌─ 3 Branches [L] R T ───────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 4 Commits [C] R ──────────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 5 Stash (0) ──────────────────────────────────┐
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → de5dd2a │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
╚════════════════════════════════════════════════╝
┌─ 3 Branches [L] R T ───────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 4 Commits [C] R ──────────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 5 Stash (0) ──────────────────────────────────┐
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → de5dd2a │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
╚════════════════════════════════════════════════╝
┌─ 3 Branches [L] R T ───────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 4 Commits [C] R ──────────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 5 Stash (0) ──────────────────────────────────┐
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → de5dd2a │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
╚════════════════════════════════════════════════╝
┌─ 3 Branches [L] R T ───────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 4 Commits [C] R ──────────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 5 Stash (0) ──────────────────────────────────┐
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────────────────────────┐
│ main → de5dd2a │
└────────────────────────────────────────────────┘
╔═ 2 Files (3) ══════════════════════════════════╗
╚════════════════════════════════════════════════╝
┌─ 3 Branches [L] R T ───────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 4 Commits [C] R ──────────────────────────────┐
└────────────────────────────────────────────────┘
┌─ 5 Stash (0) ──────────────────────────────────┐
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2
e-scroll && cd /tmp/lazygitclj-e2e-scroll && bb --
config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitcl
j-e2e-scroll/.git/
[main (root-commit) de5dd2a] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2
e-scroll && cd /tmp/lazygitclj-e2e-scroll && bb --
config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitcl
j-e2e-scroll/.git/
[main (root-commit) de5dd2a] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
────────────────────────────────────────────────────────────────────────────────
Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

File diff suppressed because it is too large Load Diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 212 KiB

+876
View File
@@ -0,0 +1,876 @@
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-reset && cd /tmp/lazygitclj-e2e-reset && bb
--config /home/ajet/repos/lazygitclj/bb.edn start
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-reset && cd /tmp/lazygitclj-e2e-reset && bb
--config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-reset/.git/
[main (root-commit) bcf7fe9] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch c24e652] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-reset
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → bcf7fe9 │ │ diff --git a/file2.txt b/file2.txt │
└────────────────────────────┘ │ index a29bdeb..723650f 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file2.txt │
║ M file2.txt ║ │ +++ b/file2.txt │
║ M file1.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +staged content │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ bcf7fe9 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → bcf7fe9 │ │ diff --git a/file2.txt b/file2.txt │
└────────────────────────────┘ │ index a29bdeb..723650f 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file2.txt │
║ M file2.txt ║ │ +++ b/file2.txt │
║ M file1.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +staged content │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ────╔═ Reset Options ════════════════════════╗ │
│ feature-branch ║ s - Soft reset (uncommit, keep staged) ║ │
│ * main ║ m - Mixed reset (uncommit, unstage) ║ │
│ ║ h - Hard reset (discard all changes) ║ │
│ ║ ║ │
└─────────────────────────║ u - Unstage all staged changes ║ │
┌─ 4 Commits [C] R ───────║ d - Discard all unstaged changes ║ │
│ bcf7fe9 Initial commit ║ c - Clean untracked files ║ │
│ ║ ║ │
│ ║ esc - Cancel ║ │
│ ╚════════════════════════════════════════╝ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → bcf7fe9 │ │ diff --git a/file2.txt b/file2.txt │
└────────────────────────────┘ │ index a29bdeb..723650f 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file2.txt │
║ M file2.txt ║ │ +++ b/file2.txt │
║ M file1.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +staged content │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ────╔═ Reset Options ════════════════════════╗ │
│ feature-branch ║ s - Soft reset (uncommit, keep staged) ║ │
│ * main ║ m - Mixed reset (uncommit, unstage) ║ │
│ ║ h - Hard reset (discard all changes) ║ │
│ ║ ║ │
└─────────────────────────║ u - Unstage all staged changes ║ │
┌─ 4 Commits [C] R ───────║ d - Discard all unstaged changes ║ │
│ bcf7fe9 Initial commit ║ c - Clean untracked files ║ │
│ ║ ║ │
│ ║ esc - Cancel ║ │
│ ╚════════════════════════════════════════╝ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → bcf7fe9 │ │ diff --git a/file2.txt b/file2.txt │
└────────────────────────────┘ │ index a29bdeb..723650f 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file2.txt │
║ M file2.txt ║ │ +++ b/file2.txt │
║ M file1.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +staged content │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ────╔═ Reset Options ════════════════════════╗ │
│ feature-branch ║ s - Soft reset (uncommit, keep staged) ║ │
│ * main ║ m - Mixed reset (uncommit, unstage) ║ │
│ ║ h - Hard reset (discard all changes) ║ │
│ ║ ║ │
└─────────────────────────║ u - Unstage all staged changes ║ │
┌─ 4 Commits [C] R ───────║ d - Discard all unstaged changes ║ │
│ bcf7fe9 Initial commit ║ c - Clean untracked files ║ │
│ ║ ║ │
│ ║ esc - Cancel ║ │
│ ╚════════════════════════════════════════╝ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → bcf7fe9 │ │ diff --git a/file2.txt b/file2.txt │
└────────────────────────────┘ │ index a29bdeb..723650f 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file2.txt │
║ M file2.txt ║ │ +++ b/file2.txt │
║ M file1.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +staged content │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ bcf7fe9 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → bcf7fe9 │ │ diff --git a/file2.txt b/file2.txt │
└────────────────────────────┘ │ index a29bdeb..723650f 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file2.txt │
║ M file2.txt ║ │ +++ b/file2.txt │
║ M file1.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +staged content │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ────╔═ Reset Options ════════════════════════╗ │
│ feature-branch ║ s - Soft reset (uncommit, keep staged) ║ │
│ * main ║ m - Mixed reset (uncommit, unstage) ║ │
│ ║ h - Hard reset (discard all changes) ║ │
│ ║ ║ │
└─────────────────────────║ u - Unstage all staged changes ║ │
┌─ 4 Commits [C] R ───────║ d - Discard all unstaged changes ║ │
│ bcf7fe9 Initial commit ║ c - Clean untracked files ║ │
│ ║ ║ │
│ ║ esc - Cancel ║ │
│ ╚════════════════════════════════════════╝ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → bcf7fe9 │ │ diff --git a/file2.txt b/file2.txt │
└────────────────────────────┘ │ index a29bdeb..723650f 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file2.txt │
║ M file2.txt ║ │ +++ b/file2.txt │
║ M file1.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +staged content │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ────╔═ Reset Options ════════════════════════╗ │
│ feature-branch ║ s - Soft reset (uncommit, keep staged) ║ │
│ * main ║ m - Mixed reset (uncommit, unstage) ║ │
│ ║ h - Hard reset (discard all changes) ║ │
│ ║ ║ │
└─────────────────────────║ u - Unstage all staged changes ║ │
┌─ 4 Commits [C] R ───────║ d - Discard all unstaged changes ║ │
│ bcf7fe9 Initial commit ║ c - Clean untracked files ║ │
│ ║ ║ │
│ ║ esc - Cancel ║ │
│ ╚════════════════════════════════════════╝ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
Unstaged all changes
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → bcf7fe9 │ │ diff --git a/file1.txt b/file1.txt │
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file1.txt │
║ M file1.txt ║ │ +++ b/file1.txt │
║ M file2.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +modified │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ bcf7fe9 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
│ │ │ │
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
Unstaged all changes
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → bcf7fe9 │ │ diff --git a/file1.txt b/file1.txt │
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file1.txt │
║ M file1.txt ║ │ +++ b/file1.txt │
║ M file2.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +modified │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ bcf7fe9 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
│ │ │ │
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
Unstaged all changes
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → bcf7fe9 │ │ diff --git a/file2.txt b/file2.txt │
└────────────────────────────┘ │ index a29bdeb..723650f 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file2.txt │
║ M file1.txt ║ │ +++ b/file2.txt │
║ M file2.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +staged content │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ bcf7fe9 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
│ │ │ │
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
Unstaged all changes
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → bcf7fe9 │ │ diff --git a/file2.txt b/file2.txt │
└────────────────────────────┘ │ index a29bdeb..723650f 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file2.txt │
║ M file1.txt ║ │ +++ b/file2.txt │
║ M file2.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +staged content │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ bcf7fe9 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
│ │ │ │
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
Unstaged all changes
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → bcf7fe9 │ │ diff --git a/file2.txt b/file2.txt │
└────────────────────────────┘ │ index a29bdeb..723650f 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file2.txt │
║ M file1.txt ║ │ +++ b/file2.txt │
║ M file2.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +staged content │
╚═════════════════════════╔═ Reset Options ════════════════════════╗ │
┌─ 3 Branches [L] R T ────║ s - Soft reset (uncommit, keep staged) ║ │
│ feature-branch ║ m - Mixed reset (uncommit, unstage) ║ │
│ * main ║ h - Hard reset (discard all changes) ║ │
│ ║ ║ │
│ ║ u - Unstage all staged changes ║ │
└─────────────────────────║ d - Discard all unstaged changes ║ │
┌─ 4 Commits [C] R ───────║ c - Clean untracked files ║ │
│ bcf7fe9 Initial commit ║ ║ │
│ ║ esc - Cancel ║ │
│ ╚════════════════════════════════════════╝ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
│ │ │ │
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
Unstaged all changes
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → bcf7fe9 │ │ diff --git a/file2.txt b/file2.txt │
└────────────────────────────┘ │ index a29bdeb..723650f 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file2.txt │
║ M file1.txt ║ │ +++ b/file2.txt │
║ M file2.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +staged content │
╚═════════════════════════╔═ Reset Options ════════════════════════╗ │
┌─ 3 Branches [L] R T ────║ s - Soft reset (uncommit, keep staged) ║ │
│ feature-branch ║ m - Mixed reset (uncommit, unstage) ║ │
│ * main ║ h - Hard reset (discard all changes) ║ │
│ ║ ║ │
│ ║ u - Unstage all staged changes ║ │
└─────────────────────────║ d - Discard all unstaged changes ║ │
┌─ 4 Commits [C] R ───────║ c - Clean untracked files ║ │
│ bcf7fe9 Initial commit ║ ║ │
│ ║ esc - Cancel ║ │
│ ╚════════════════════════════════════════╝ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
│ │ │ │
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
Discarded unstaged changes
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → bcf7fe9 │ │ │
└────────────────────────────┘ │ │
╔═ 2 Files (1) ══════════════╗ │ │
║ ?? newfile.txt ║ │ │
║ ║ │ │
║ ║ │ │
║ ║ │ │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ bcf7fe9 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
│ │ │ │
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
Discarded unstaged changes
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → bcf7fe9 │ │ │
└────────────────────────────┘ │ │
╔═ 2 Files (1) ══════════════╗ │ │
║ ?? newfile.txt ║ │ │
║ ║ │ │
║ ║ │ │
║ ║ │ │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ bcf7fe9 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
│ │ │ │
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-reset && cd /tmp/lazygitclj-e2e-reset && bb
--config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-reset/.git/
[main (root-commit) bcf7fe9] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch c24e652] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-reset
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
Starting lazygitclj...
Goodbye!
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-reset && cd /tmp/lazygitclj-e2e-reset && bb
--config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-reset/.git/
[main (root-commit) bcf7fe9] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch c24e652] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-reset
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
Starting lazygitclj...
Goodbye!
>
────────────────────────────────────────────────────────────────────────────────
Binary file not shown.

After

Width:  |  Height:  |  Size: 275 KiB

+816
View File
@@ -0,0 +1,816 @@
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-stage && cd /tmp/lazygitclj-e2e-stage && bb --c
onfig /home/ajet/repos/lazygitclj/bb.edn start
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-stage && cd /tmp/lazygitclj-e2e-stage && bb --c
onfig /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-stage/.git/
[main (root-commit) 2fcfba5] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 1bf4599] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 2fcfba5 │ │ diff --git a/file2.txt b/file2.txt │
└────────────────────────────┘ │ index a29bdeb..723650f 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file2.txt │
║ M file2.txt ║ │ +++ b/file2.txt │
║ M file1.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +staged content │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ 2fcfba5 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 2fcfba5 │ │ diff --git a/file1.txt b/file1.txt │
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file1.txt │
║ M file1.txt ║ │ +++ b/file1.txt │
║ M file2.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +modified │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ 2fcfba5 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 2fcfba5 │ │ diff --git a/file1.txt b/file1.txt │
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file1.txt │
║ M file1.txt ║ │ +++ b/file1.txt │
║ M file2.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +modified │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ 2fcfba5 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 2fcfba5 │ │ diff --git a/file2.txt b/file2.txt │
└────────────────────────────┘ │ index a29bdeb..723650f 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file2.txt │
║ M file1.txt ║ │ +++ b/file2.txt │
║ M file2.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +staged content │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ 2fcfba5 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 2fcfba5 │ │ diff --git a/file2.txt b/file2.txt │
└────────────────────────────┘ │ index a29bdeb..723650f 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file2.txt │
║ M file1.txt ║ │ +++ b/file2.txt │
║ M file2.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +staged content │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ 2fcfba5 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 2fcfba5 │ │ diff --git a/file1.txt b/file1.txt │
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file1.txt │
║ M file2.txt ║ │ +++ b/file1.txt │
║ M file1.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +modified │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ 2fcfba5 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 2fcfba5 │ │ diff --git a/file1.txt b/file1.txt │
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file1.txt │
║ M file2.txt ║ │ +++ b/file1.txt │
║ M file1.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +modified │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ 2fcfba5 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 2fcfba5 │ │ diff --git a/file2.txt b/file2.txt │
└────────────────────────────┘ │ index a29bdeb..723650f 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file2.txt │
║ M file1.txt ║ │ +++ b/file2.txt │
║ M file2.txt ║ │ @@ -1 +1,2 @@ │
║ A newfile.txt ║ │ line1 │
║ ║ │ +staged content │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ 2fcfba5 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 2fcfba5 │ │ diff --git a/file2.txt b/file2.txt │
└────────────────────────────┘ │ index a29bdeb..723650f 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file2.txt │
║ M file1.txt ║ │ +++ b/file2.txt │
║ M file2.txt ║ │ @@ -1 +1,2 @@ │
║ A newfile.txt ║ │ line1 │
║ ║ │ +staged content │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ 2fcfba5 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 2fcfba5 │ │ diff --git a/newfile.txt b/newfile.txt │
└────────────────────────────┘ │ new file mode 100644 │
╔═ 2 Files (3) ══════════════╗ │ index 0000000..8e66654 │
║ M file1.txt ║ │ --- /dev/null │
║ M file2.txt ║ │ +++ b/newfile.txt │
║ A newfile.txt ║ │ @@ -0,0 +1 @@ │
║ ║ │ +new file content │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ 2fcfba5 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 2fcfba5 │ │ diff --git a/newfile.txt b/newfile.txt │
└────────────────────────────┘ │ new file mode 100644 │
╔═ 2 Files (3) ══════════════╗ │ index 0000000..8e66654 │
║ M file1.txt ║ │ --- /dev/null │
║ M file2.txt ║ │ +++ b/newfile.txt │
║ A newfile.txt ║ │ @@ -0,0 +1 @@ │
║ ║ │ +new file content │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ 2fcfba5 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
Can only discard unstaged changes
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 2fcfba5 │ │ diff --git a/newfile.txt b/newfile.txt │
└────────────────────────────┘ │ new file mode 100644 │
╔═ 2 Files (3) ══════════════╗ │ index 0000000..8e66654 │
║ M file1.txt ║ │ --- /dev/null │
║ M file2.txt ║ │ +++ b/newfile.txt │
║ A newfile.txt ║ │ @@ -0,0 +1 @@ │
║ ║ │ +new file content │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ 2fcfba5 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
│ │ │ │
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
Can only discard unstaged changes
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 2fcfba5 │ │ diff --git a/newfile.txt b/newfile.txt │
└────────────────────────────┘ │ new file mode 100644 │
╔═ 2 Files (3) ══════════════╗ │ index 0000000..8e66654 │
║ M file1.txt ║ │ --- /dev/null │
║ M file2.txt ║ │ +++ b/newfile.txt │
║ A newfile.txt ║ │ @@ -0,0 +1 @@ │
║ ║ │ +new file content │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ 2fcfba5 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
│ │ │ │
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-stage && cd /tmp/lazygitclj-e2e-stage && bb --c
onfig /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-stage/.git/
[main (root-commit) 2fcfba5] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 1bf4599] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-stage
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
Starting lazygitclj...
Goodbye!
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-stage && cd /tmp/lazygitclj-e2e-stage && bb --c
onfig /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-stage/.git/
[main (root-commit) 2fcfba5] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 1bf4599] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-stage
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
Starting lazygitclj...
Goodbye!
>
────────────────────────────────────────────────────────────────────────────────
Binary file not shown.

After

Width:  |  Height:  |  Size: 235 KiB

+756
View File
@@ -0,0 +1,756 @@
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-stash-menu && cd /tmp/lazygitclj-e2e-stash-
menu && bb --config /home/ajet/repos/lazygitclj/bb.edn start
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-stash-menu && cd /tmp/lazygitclj-e2e-stash-
menu && bb --config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-stash-menu/.git/
[main (root-commit) b6e5ae8] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch d306507] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-stash-menu
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
Starting lazygitclj...
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → b6e5ae8 │ │ diff --git a/file2.txt b/file2.txt │
└────────────────────────────┘ │ index a29bdeb..723650f 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file2.txt │
║ M file2.txt ║ │ +++ b/file2.txt │
║ M file1.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +staged content │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ b6e5ae8 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → b6e5ae8 │ │ diff --git a/file2.txt b/file2.txt │
└────────────────────────────┘ │ index a29bdeb..723650f 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file2.txt │
║ M file2.txt ║ │ +++ b/file2.txt │
║ M file1.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +staged content │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch ╔═ Stash Options ═════════════════════════╗ │
│ * main ║ a - Stash all changes ║ │
│ ║ i - Stash all changes and keep index ║ │
│ ║ U - Stash all including untracked files ║ │
└─────────────────────────║ s - Stash staged changes only ║ │
┌─ 4 Commits [C] R ───────║ u - Stash unstaged changes only ║ │
│ b6e5ae8 Initial commit ║ ║ │
│ ║ esc - Cancel ║ │
│ ╚═════════════════════════════════════════╝ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → b6e5ae8 │ │ diff --git a/file2.txt b/file2.txt │
└────────────────────────────┘ │ index a29bdeb..723650f 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file2.txt │
║ M file2.txt ║ │ +++ b/file2.txt │
║ M file1.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +staged content │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch ╔═ Stash Options ═════════════════════════╗ │
│ * main ║ a - Stash all changes ║ │
│ ║ i - Stash all changes and keep index ║ │
│ ║ U - Stash all including untracked files ║ │
└─────────────────────────║ s - Stash staged changes only ║ │
┌─ 4 Commits [C] R ───────║ u - Stash unstaged changes only ║ │
│ b6e5ae8 Initial commit ║ ║ │
│ ║ esc - Cancel ║ │
│ ╚═════════════════════════════════════════╝ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → b6e5ae8 │ │ diff --git a/file2.txt b/file2.txt │
└────────────────────────────┘ │ index a29bdeb..723650f 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file2.txt │
║ M file2.txt ║ │ +++ b/file2.txt │
║ M file1.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +staged content │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch ╔═ Stash Options ═════════════════════════╗ │
│ * main ║ a - Stash all changes ║ │
│ ║ i - Stash all changes and keep index ║ │
│ ║ U - Stash all including untracked files ║ │
└─────────────────────────║ s - Stash staged changes only ║ │
┌─ 4 Commits [C] R ───────║ u - Stash unstaged changes only ║ │
│ b6e5ae8 Initial commit ║ ║ │
│ ║ esc - Cancel ║ │
│ ╚═════════════════════════════════════════╝ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → b6e5ae8 │ │ diff --git a/file2.txt b/file2.txt │
└────────────────────────────┘ │ index a29bdeb..723650f 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file2.txt │
║ M file2.txt ║ │ +++ b/file2.txt │
║ M file1.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +staged content │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ b6e5ae8 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → b6e5ae8 │ │ diff --git a/file2.txt b/file2.txt │
└────────────────────────────┘ │ index a29bdeb..723650f 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file2.txt │
║ M file2.txt ║ │ +++ b/file2.txt │
║ M file1.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +staged content │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch ╔═ Stash Options ═════════════════════════╗ │
│ * main ║ a - Stash all changes ║ │
│ ║ i - Stash all changes and keep index ║ │
│ ║ U - Stash all including untracked files ║ │
└─────────────────────────║ s - Stash staged changes only ║ │
┌─ 4 Commits [C] R ───────║ u - Stash unstaged changes only ║ │
│ b6e5ae8 Initial commit ║ ║ │
│ ║ esc - Cancel ║ │
│ ╚═════════════════════════════════════════╝ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → b6e5ae8 │ │ diff --git a/file2.txt b/file2.txt │
└────────────────────────────┘ │ index a29bdeb..723650f 100644 │
╔═ 2 Files (3) ══════════════╗ │ --- a/file2.txt │
║ M file2.txt ║ │ +++ b/file2.txt │
║ M file1.txt ║ │ @@ -1 +1,2 @@ │
║ ?? newfile.txt ║ │ line1 │
║ ║ │ +staged content │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch ╔═ Stash Options ═════════════════════════╗ │
│ * main ║ a - Stash all changes ║ │
│ ║ i - Stash all changes and keep index ║ │
│ ║ U - Stash all including untracked files ║ │
└─────────────────────────║ s - Stash staged changes only ║ │
┌─ 4 Commits [C] R ───────║ u - Stash unstaged changes only ║ │
│ b6e5ae8 Initial commit ║ ║ │
│ ║ esc - Cancel ║ │
│ ╚═════════════════════════════════════════╝ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
Stashed all changes
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → b6e5ae8 │ │ │
└────────────────────────────┘ │ │
╔═ 2 Files (1) ══════════════╗ │ │
║ ?? newfile.txt ║ │ │
║ ║ │ │
║ ║ │ │
║ ║ │ │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ b6e5ae8 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (1) ──────────────┐ │ │
│ 0 b6e5ae8 Initial comm... │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
│ │ │ │
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
Stashed all changes
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → b6e5ae8 │ │ │
└────────────────────────────┘ │ │
╔═ 2 Files (1) ══════════════╗ │ │
║ ?? newfile.txt ║ │ │
║ ║ │ │
║ ║ │ │
║ ║ │ │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ b6e5ae8 Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (1) ──────────────┐ │ │
│ 0 b6e5ae8 Initial comm... │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
│ │ │ │
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
Stashed all changes
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → b6e5ae8 │ │ commit b6e5ae86aa941f490e574b7a9f7a021839c08ff7 │
└────────────────────────────┘ │ Author: Test User <test@example.com> │
┌─ 2 Files (1) ──────────────┐ │ Date: Wed Jan 21 17:59:09 2026 -0500 │
│ ?? newfile.txt │ │ │
│ │ │ Initial commit │
│ │ │ --- │
│ │ │ README.md | 1 + │
└────────────────────────────┘ │ file1.txt | 1 + │
┌─ 3 Branches [L] R T ───────┐ │ file2.txt | 1 + │
│ feature-branch │ │ 3 files changed, 3 insertions(+) │
│ * main │ │ │
│ │ │ diff --git a/README.md b/README.md │
│ │ │ new file mode 100644 │
└────────────────────────────┘ │ index 0000000..181e1c3 │
╔═ 4 Commits [C] R ══════════╗ │ --- /dev/null │
║ b6e5ae8 Initial commit ║ │ +++ b/README.md │
║ ║ │ @@ -0,0 +1 @@ │
║ ║ │ +# Test Project │
║ ║ │ diff --git a/file1.txt b/file1.txt │
╚════════════════════════════╝ │ new file mode 100644 │
┌─ 5 Stash (1) ──────────────┐ │ index 0000000..a29bdeb │
│ 0 b6e5ae8 Initial comm... │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
│ │ │ │
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav []:tabs spc:checkout p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
Stashed all changes
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → b6e5ae8 │ │ commit b6e5ae86aa941f490e574b7a9f7a021839c08ff7 │
└────────────────────────────┘ │ Author: Test User <test@example.com> │
┌─ 2 Files (1) ──────────────┐ │ Date: Wed Jan 21 17:59:09 2026 -0500 │
│ ?? newfile.txt │ │ │
│ │ │ Initial commit │
│ │ │ --- │
│ │ │ README.md | 1 + │
└────────────────────────────┘ │ file1.txt | 1 + │
┌─ 3 Branches [L] R T ───────┐ │ file2.txt | 1 + │
│ feature-branch │ │ 3 files changed, 3 insertions(+) │
│ * main │ │ │
│ │ │ diff --git a/README.md b/README.md │
│ │ │ new file mode 100644 │
└────────────────────────────┘ │ index 0000000..181e1c3 │
╔═ 4 Commits [C] R ══════════╗ │ --- /dev/null │
║ b6e5ae8 Initial commit ║ │ +++ b/README.md │
║ ║ │ @@ -0,0 +1 @@ │
║ ║ │ +# Test Project │
║ ║ │ diff --git a/file1.txt b/file1.txt │
╚════════════════════════════╝ │ new file mode 100644 │
┌─ 5 Stash (1) ──────────────┐ │ index 0000000..a29bdeb │
│ 0 b6e5ae8 Initial comm... │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
│ │ │ │
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav []:tabs spc:checkout p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-stash-menu && cd /tmp/lazygitclj-e2e-stash-
menu && bb --config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-stash-menu/.git/
[main (root-commit) b6e5ae8] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch d306507] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-stash-menu
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
Starting lazygitclj...
Goodbye!
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-stash-menu && cd /tmp/lazygitclj-e2e-stash-
menu && bb --config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-stash-menu/.git/
[main (root-commit) b6e5ae8] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch d306507] Feature work
1 file changed, 1 insertion(+)
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-stash-menu
- main branch with 1 commit
- feature-branch with 1 extra commit
- 1 staged file (file2.txt)
- 1 unstaged file (file1.txt)
- 1 untracked file (newfile.txt)
Starting lazygitclj...
Goodbye!
>
────────────────────────────────────────────────────────────────────────────────
Binary file not shown.

After

Width:  |  Height:  |  Size: 273 KiB

+996
View File
@@ -0,0 +1,996 @@
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-stash && cd /tmp/lazygitclj-e2e-stash && bb
--config /home/ajet/repos/lazygitclj/bb.edn start
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-stash && cd /tmp/lazygitclj-e2e-stash && bb
--config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-stash/.git/
[main (root-commit) 3647220] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 4cb8019] Add feature
1 file changed, 1 insertion(+)
create mode 100644 feature.txt
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-stash
Starting lazygitclj...
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (3647220)
╔═ 2 Files (2) ═══╗
║ Staged: ║
║ M > ile1.txt ║
║ ║
║ Unstaged: ║
║ ?? new-file.txt ║
╚═════════════════╝
╭─ 3 Local (2) ────╮
│ feature-branch │
│ * main │
╰──────────────────╯
╭─ 4 Commits (1) ────────────────────────╮
│ 3647220 Initial commit (0 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:stage/unstage a:all c:commit s:stash p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (3647220)
Stashed all changes
╔═ 2 Files (1) ═════╗
║ ║
║ ║
║ Unstaged: ║
║ ?? > new-file.txt ║
╚═══════════════════╝
╭─ 3 Local (2) ────╮
│ feature-branch │
│ * main │
╰──────────────────╯
╭─ 4 Commits (1) ────────────────────────╮
│ 3647220 Initial commit (2 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (1) ───────────────────────────╮
│ stash@{0} 3647220 Initial commit (main) │
╰─────────────────────────────────────────╯
q:quit ?:help h/l:switch space:stage/unstage a:all c:commit s:stash p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (3647220)
Stashed all changes
╔═ 2 Files (1) ═════╗
║ ║
║ ║
║ Unstaged: ║
║ ?? > new-file.txt ║
╚═══════════════════╝
╭─ 3 Local (2) ────╮
│ feature-branch │
│ * main │
╰──────────────────╯
╭─ 4 Commits (1) ────────────────────────╮
│ 3647220 Initial commit (2 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (1) ───────────────────────────╮
│ stash@{0} 3647220 Initial commit (main) │
╰─────────────────────────────────────────╯
q:quit ?:help h/l:switch space:stage/unstage a:all c:commit s:stash p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (3647220)
Stashed all changes
╭─ 2 Files (1) ───╮
│ │
│ │
│ Unstaged: │
│ ?? new-file.txt │
╰─────────────────╯
╭─ 3 Local (2) ────╮
│ feature-branch │
│ * main │
╰──────────────────╯
╭─ 4 Commits (1) ────────────────────────╮
│ 3647220 Initial commit (2 seconds ago) │
╰────────────────────────────────────────╯
╔═ 5 Stash (1) ═════════════════════════════╗
║ stash@{0} > 3647220 Initial commit (main) ║
╚═══════════════════════════════════════════╝
q:quit ?:help h/l:switch space:apply g:pop d:drop p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (3647220)
Stashed all changes
╭─ 2 Files (1) ───╮
│ │
│ │
│ Unstaged: │
│ ?? new-file.txt │
╰─────────────────╯
╭─ 3 Local (2) ────╮
│ feature-branch │
│ * main │
╰──────────────────╯
╭─ 4 Commits (1) ────────────────────────╮
│ 3647220 Initial commit (2 seconds ago) │
╰────────────────────────────────────────╯
╔═ 5 Stash (1) ═════════════════════════════╗
║ stash@{0} > 3647220 Initial commit (main) ║
╚═══════════════════════════════════════════╝
q:quit ?:help h/l:switch space:apply g:pop d:drop p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (3647220)
Applied stash@{0}
╭─ 2 Files (2) ───╮
│ Staged: │
│ M ile1.txt │
│ │
│ Unstaged: │
│ ?? new-file.txt │
╰─────────────────╯
╭─ 3 Local (2) ────╮
│ feature-branch │
│ * main │
╰──────────────────╯
╭─ 4 Commits (1) ────────────────────────╮
│ 3647220 Initial commit (4 seconds ago) │
╰────────────────────────────────────────╯
╔═ 5 Stash (1) ═════════════════════════════╗
║ stash@{0} > 3647220 Initial commit (main) ║
╚═══════════════════════════════════════════╝
q:quit ?:help h/l:switch space:apply g:pop d:drop p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (3647220)
Applied stash@{0}
╭─ 2 Files (2) ───╮
│ Staged: │
│ M ile1.txt │
│ │
│ Unstaged: │
│ ?? new-file.txt │
╰─────────────────╯
╭─ 3 Local (2) ────╮
│ feature-branch │
│ * main │
╰──────────────────╯
╭─ 4 Commits (1) ────────────────────────╮
│ 3647220 Initial commit (4 seconds ago) │
╰────────────────────────────────────────╯
╔═ 5 Stash (1) ═════════════════════════════╗
║ stash@{0} > 3647220 Initial commit (main) ║
╚═══════════════════════════════════════════╝
q:quit ?:help h/l:switch space:apply g:pop d:drop p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (3647220)
Popped stash@{0}
╭─ 2 Files (2) ───╮
│ Staged: │
│ M ile1.txt │
│ │
│ Unstaged: │
│ ?? new-file.txt │
╰─────────────────╯
╭─ 3 Local (2) ────╮
│ feature-branch │
│ * main │
╰──────────────────╯
╭─ 4 Commits (1) ────────────────────────╮
│ 3647220 Initial commit (5 seconds ago) │
╰────────────────────────────────────────╯
╔═ 5 Stash (1) ═════════════════════════════╗
║ stash@{0} > 3647220 Initial commit (main) ║
╚═══════════════════════════════════════════╝
q:quit ?:help h/l:switch space:apply g:pop d:drop p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (3647220)
Popped stash@{0}
╭─ 2 Files (2) ───╮
│ Staged: │
│ M ile1.txt │
│ │
│ Unstaged: │
│ ?? new-file.txt │
╰─────────────────╯
╭─ 3 Local (2) ────╮
│ feature-branch │
│ * main │
╰──────────────────╯
╭─ 4 Commits (1) ────────────────────────╮
│ 3647220 Initial commit (5 seconds ago) │
╰────────────────────────────────────────╯
╔═ 5 Stash (1) ═════════════════════════════╗
║ stash@{0} > 3647220 Initial commit (main) ║
╚═══════════════════════════════════════════╝
q:quit ?:help h/l:switch space:apply g:pop d:drop p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (3647220)
Popped stash@{0}
╔═ 2 Files (2) ═══╗
║ Staged: ║
║ M > ile1.txt ║
║ ║
║ Unstaged: ║
║ ?? new-file.txt ║
╚═════════════════╝
╭─ 3 Local (2) ────╮
│ feature-branch │
│ * main │
╰──────────────────╯
╭─ 4 Commits (1) ────────────────────────╮
│ 3647220 Initial commit (5 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (1) ───────────────────────────╮
│ stash@{0} 3647220 Initial commit (main) │
╰─────────────────────────────────────────╯
q:quit ?:help h/l:switch space:stage/unstage a:all c:commit s:stash p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (3647220)
Popped stash@{0}
╔═ 2 Files (2) ═══╗
║ Staged: ║
║ M > ile1.txt ║
║ ║
║ Unstaged: ║
║ ?? new-file.txt ║
╚═════════════════╝
╭─ 3 Local (2) ────╮
│ feature-branch │
│ * main │
╰──────────────────╯
╭─ 4 Commits (1) ────────────────────────╮
│ 3647220 Initial commit (5 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (1) ───────────────────────────╮
│ stash@{0} 3647220 Initial commit (main) │
╰─────────────────────────────────────────╯
q:quit ?:help h/l:switch space:stage/unstage a:all c:commit s:stash p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (3647220)
╔═ 2 Files (2) ═══╗
║ Staged: ║
║ M > ile1.txt ║
║ ║
║ Unstaged: ║
║ ?? new-file.txt ║
╚═════════════════╝
╭─ 3 Local (2) ────╮
│ feature-branch │
│ * main │
╰──────────────────╯
╭─ 4 Commits (1) ────────────────────────╮
│ 3647220 Initial commit (6 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (1) ───────────────────────────╮
│ stash@{0} 3647220 Initial commit (main) │
╰─────────────────────────────────────────╯
q:quit ?:help h/l:switch space:stage/unstage a:all c:commit s:stash p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (3647220)
╔═ 2 Files (2) ═══╗
║ Staged: ║
║ M > ile1.txt ║
║ ║
║ Unstaged: ║
║ ?? new-file.txt ║
╚═════════════════╝
╭─ 3 Local (2) ────╮
│ feature-branch │
│ * main │
╰──────────────────╯
╭─ 4 Commits (1) ────────────────────────╮
│ 3647220 Initial commit (6 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (1) ───────────────────────────╮
│ stash@{0} 3647220 Initial commit (main) │
╰─────────────────────────────────────────╯
q:quit ?:help h/l:switch space:stage/unstage a:all c:commit s:stash p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (3647220)
Stashed all changes
╔═ 2 Files (1) ═════╗
║ ║
║ ║
║ Unstaged: ║
║ ?? > new-file.txt ║
╚═══════════════════╝
╭─ 3 Local (2) ────╮
│ feature-branch │
│ * main │
╰──────────────────╯
╭─ 4 Commits (1) ────────────────────────╮
│ 3647220 Initial commit (7 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (2) ───────────────────────────╮
│ stash@{0} 3647220 Initial commit (main) │
│ stash@{1} 3647220 Initial commit (main) │
╰─────────────────────────────────────────╯
q:quit ?:help h/l:switch space:stage/unstage a:all c:commit s:stash p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (3647220)
Stashed all changes
╔═ 2 Files (1) ═════╗
║ ║
║ ║
║ Unstaged: ║
║ ?? > new-file.txt ║
╚═══════════════════╝
╭─ 3 Local (2) ────╮
│ feature-branch │
│ * main │
╰──────────────────╯
╭─ 4 Commits (1) ────────────────────────╮
│ 3647220 Initial commit (7 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (2) ───────────────────────────╮
│ stash@{0} 3647220 Initial commit (main) │
│ stash@{1} 3647220 Initial commit (main) │
╰─────────────────────────────────────────╯
q:quit ?:help h/l:switch space:stage/unstage a:all c:commit s:stash p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (3647220)
Stashed all changes
╭─ 2 Files (1) ───╮
│ │
│ │
│ Unstaged: │
│ ?? new-file.txt │
╰─────────────────╯
╭─ 3 Local (2) ────╮
│ feature-branch │
│ * main │
╰──────────────────╯
╭─ 4 Commits (1) ────────────────────────╮
│ 3647220 Initial commit (7 seconds ago) │
╰────────────────────────────────────────╯
╔═ 5 Stash (2) ═════════════════════════════╗
║ stash@{0} > 3647220 Initial commit (main) ║
║ stash@{1} 3647220 Initial commit (main) ║
╚═══════════════════════════════════════════╝
q:quit ?:help h/l:switch space:apply g:pop d:drop p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (3647220)
Stashed all changes
╭─ 2 Files (1) ───╮
│ │
│ │
│ Unstaged: │
│ ?? new-file.txt │
╰─────────────────╯
╭─ 3 Local (2) ────╮
│ feature-branch │
│ * main │
╰──────────────────╯
╭─ 4 Commits (1) ────────────────────────╮
│ 3647220 Initial commit (7 seconds ago) │
╰────────────────────────────────────────╯
╔═ 5 Stash (2) ═════════════════════════════╗
║ stash@{0} > 3647220 Initial commit (main) ║
║ stash@{1} 3647220 Initial commit (main) ║
╚═══════════════════════════════════════════╝
q:quit ?:help h/l:switch space:apply g:pop d:drop p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (3647220)
Dropped stash@{0}
╭─ 2 Files (1) ───╮
│ │
│ │
│ Unstaged: │
│ ?? new-file.txt │
╰─────────────────╯
╭─ 3 Local (2) ────╮
│ feature-branch │
│ * main │
╰──────────────────╯
╭─ 4 Commits (1) ────────────────────────╮
│ 3647220 Initial commit (8 seconds ago) │
╰────────────────────────────────────────╯
╔═ 5 Stash (1) ═════════════════════════════╗
║ stash@{0} > 3647220 Initial commit (main) ║
╚═══════════════════════════════════════════╝
q:quit ?:help h/l:switch space:apply g:pop d:drop p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (3647220)
Dropped stash@{0}
╭─ 2 Files (1) ───╮
│ │
│ │
│ Unstaged: │
│ ?? new-file.txt │
╰─────────────────╯
╭─ 3 Local (2) ────╮
│ feature-branch │
│ * main │
╰──────────────────╯
╭─ 4 Commits (1) ────────────────────────╮
│ 3647220 Initial commit (8 seconds ago) │
╰────────────────────────────────────────╯
╔═ 5 Stash (1) ═════════════════════════════╗
║ stash@{0} > 3647220 Initial commit (main) ║
╚═══════════════════════════════════════════╝
q:quit ?:help h/l:switch space:apply g:pop d:drop p:pull P:push
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-stash && cd /tmp/lazygitclj-e2e-stash && bb
--config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-stash/.git/
[main (root-commit) 3647220] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 4cb8019] Add feature
1 file changed, 1 insertion(+)
create mode 100644 feature.txt
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-stash
Starting lazygitclj...
Goodbye!
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-stash && cd /tmp/lazygitclj-e2e-stash && bb
--config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-stash/.git/
[main (root-commit) 3647220] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 4cb8019] Add feature
1 file changed, 1 insertion(+)
create mode 100644 feature.txt
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-stash
Starting lazygitclj...
Goodbye!
>
────────────────────────────────────────────────────────────────────────────────
Binary file not shown.

After

Width:  |  Height:  |  Size: 208 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 KiB