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
+20 -17
View File
@@ -1,5 +1,5 @@
# VHS E2E test for lazygitclj - Branch operations
# Tests branch create, delete, rename, merge, checkout
# Tests branch create, checkout, delete, tab switching
Output test/e2e/output/branch-operations.gif
Output test/e2e/output/branch-operations.ascii
@@ -13,15 +13,15 @@ Set Height 600
Set Framerate 10
# Setup test repo and run lazygitclj
Type "./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-branch-ops && cd /tmp/lazygitclj-e2e-branch-ops && bb --config /home/ajet/repos/lazygitclj/bb.edn start"
Type "./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-branch && cd /tmp/lazygitclj-e2e-branch && bb --config /home/ajet/repos/lazygitclj/bb.edn start"
Enter
Sleep 2s
# First, clean up working tree by stashing
Type "s"
# First, stage all files to clean working tree
Type "a"
Sleep 500ms
# Switch to branches panel
# Switch to branches panel (3)
Type "3"
Sleep 500ms
@@ -34,34 +34,37 @@ Enter
Sleep 1s
# Should have created and switched to test-branch
# Go back to main - select main first
# Navigate to main branch
Type "j"
Sleep 300ms
Type "j"
Sleep 300ms
# Enter to checkout main
Enter
# Checkout main with space
Type " "
Sleep 1s
# Navigate to test-branch and delete it with 'd'
Type "k"
Sleep 300ms
Type "k"
Sleep 300ms
Type "d"
Sleep 1s
# Branch should be deleted
# Merge feature-branch into main
# Navigate to feature-branch
Type "k"
Sleep 300ms
# Switch to tags tab with ]
Type "]"
Sleep 500ms
Type "]"
Sleep 500ms
# Merge with 'M'
Type "M"
Sleep 1s
# Should show merge message
# Switch back to local with [
Type "["
Sleep 500ms
Type "["
Sleep 500ms
# Quit
Type "q"
+57
View File
@@ -0,0 +1,57 @@
# VHS E2E test for lazygitclj - Commit operations
# Tests staging, committing, and commit panel operations
Output test/e2e/output/commit-operations.gif
Output test/e2e/output/commit-operations.ascii
Require bb
Set Shell "bash"
Set FontSize 14
Set Width 1000
Set Height 600
Set Framerate 10
# Setup test repo and run lazygitclj
Type "./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-commit && cd /tmp/lazygitclj-e2e-commit && bb --config /home/ajet/repos/lazygitclj/bb.edn start"
Enter
Sleep 2s
# Stage a file with space
Type " "
Sleep 500ms
# Stage all with 'a'
Type "a"
Sleep 500ms
# Commit with 'c'
Type "c"
Sleep 500ms
Set TypingSpeed 50ms
Type "Test commit message"
Enter
Sleep 1s
# Should see commit message
# Go to commits panel (4)
Type "4"
Sleep 500ms
# Navigate to see commits
Type "j"
Sleep 300ms
# Checkout a commit with space (will detach HEAD)
# Skip this to avoid detached HEAD state
# Create new branch from commit with 'n'
Type "n"
Sleep 500ms
Type "commit-branch"
Enter
Sleep 1s
# Quit
Type "q"
Sleep 1s
+52
View File
@@ -0,0 +1,52 @@
# VHS E2E test for lazygitclj - Cursor navigation
# Tests </> for top/bottom and PgUp/PgDn for page scroll
Output test/e2e/output/cursor-navigation.gif
Output test/e2e/output/cursor-navigation.ascii
Require bb
Set Shell "bash"
Set FontSize 14
Set Width 1000
Set Height 600
Set Framerate 10
# Setup test repo with many files
Type "REPO=/tmp/lazygitclj-e2e-cursor && rm -rf $REPO && mkdir -p $REPO && cd $REPO && git init -b main && git config user.email 'test@test.com' && git config user.name 'Test' && for i in $(seq 1 20); do echo \"content $i\" > file$i.txt; done && git add . && git commit -m 'Initial' && for i in $(seq 1 20); do echo \"modified $i\" >> file$i.txt; done && bb --config /home/ajet/repos/lazygitclj/bb.edn start"
Enter
Sleep 3s
# Navigate down a few times
Type "j"
Sleep 200ms
Type "j"
Sleep 200ms
Type "j"
Sleep 200ms
Type "j"
Sleep 500ms
# Go to top with <
Type "<"
Sleep 500ms
# Go to bottom with >
Type ">"
Sleep 500ms
# Page up
PageUp
Sleep 500ms
# Page down
PageDown
Sleep 500ms
# Go to top again
Type "<"
Sleep 500ms
# Quit
Type "q"
Sleep 1s
+10 -22
View File
@@ -1,5 +1,5 @@
# VHS E2E test for lazygitclj - Help panel
# Tests help display (? key shows keybindings)
# Tests opening and closing help with ?
Output test/e2e/output/help-panel.gif
Output test/e2e/output/help-panel.ascii
@@ -17,34 +17,22 @@ Type "./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-help && cd /tmp/lazygitc
Enter
Sleep 2s
# Open help panel with '?'
# Open help with ?
Type "?"
Sleep 2s
# Help panel should show keybindings for:
# - Global keys (q, r, tab, 1-4, j/k, z/Z, p, P, ?, D)
# - Files panel (space, a, c, d, s, S)
# - Commits panel ([/], space, g, C, t, r, y)
# - Branches panel ([/], enter, n, d, R, M, f)
# - Stash panel (space, g, d, n)
# Close help with escape
Escape
Sleep 500ms
# Verify we're back to normal view
Type "j"
Sleep 500ms
# Open help again with '?'
# Close help with ?
Type "?"
Sleep 1s
# Close with 'q' (also works)
Type "q"
Sleep 500ms
# Open help again
Type "?"
Sleep 1s
# Close with q
Type "q"
Sleep 1s
# Should be back to normal view
# Quit the app
Type "q"
Sleep 1s
+34 -28
View File
@@ -1,5 +1,5 @@
# VHS E2E test for lazygitclj - Basic navigation
# Tests panel switching and cursor movement (like lazygit)
# VHS E2E test for lazygitclj - Navigation and panel switching
# Tests h/l panel navigation, number keys, and cursor movement
Output test/e2e/output/navigation.gif
Output test/e2e/output/navigation.ascii
@@ -17,8 +17,8 @@ Type "./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-nav && cd /tmp/lazygitcl
Enter
Sleep 2s
# Should start on Files panel (panel 1)
# Navigate down with j (vim style like lazygit)
# Should start on Files panel (panel 2)
# Navigate down with j (vim style)
Type "j"
Sleep 500ms
Type "j"
@@ -28,45 +28,51 @@ Sleep 500ms
Type "k"
Sleep 500ms
# Switch to Commits panel with Tab
Tab
Sleep 500ms
# Navigate commits
Type "j"
Sleep 500ms
Type "k"
Sleep 500ms
# Switch to Branches panel with Tab
Tab
# Switch to Branches panel with l
Type "l"
Sleep 500ms
# Navigate branches
Type "j"
Sleep 500ms
# Switch back to Files using number key (like lazygit)
Type "1"
# Switch to Commits panel with l
Type "l"
Sleep 500ms
# Switch to Commits with number key
Type "2"
# Switch to Stash panel with l
Type "l"
Sleep 500ms
# Switch to Branches with number key
# Go back to Files with h
Type "h"
Sleep 300ms
Type "h"
Sleep 300ms
Type "h"
Sleep 500ms
# Switch to Branches using number key (3)
Type "3"
Sleep 500ms
# Test arrow keys too
Up
Sleep 300ms
# Switch to Commits using number key (4)
Type "4"
Sleep 500ms
# Switch to Stash using number key (5)
Type "5"
Sleep 500ms
# Go back to Files (2)
Type "2"
Sleep 500ms
# Test arrow keys
Down
Sleep 300ms
# Refresh with r
Type "r"
Sleep 500ms
Up
Sleep 300ms
# Quit with q
Type "q"
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

+19 -29
View File
@@ -1,47 +1,37 @@
#!/bin/bash
# Setup a test git repository for e2e testing
# Setup a test git repository for e2e tests
# Usage: ./setup-test-repo.sh /tmp/test-repo
set -e
REPO_DIR="${1:-/tmp/lazygitclj-e2e-test}"
TEST_REPO="${1:-/tmp/lazygitclj-test-repo}"
# Remove existing repo if present
rm -rf "$REPO_DIR"
# Clean up if exists
rm -rf "$TEST_REPO"
mkdir -p "$TEST_REPO"
cd "$TEST_REPO"
# Initialize git repo
# Create and initialize repo
mkdir -p "$REPO_DIR"
cd "$REPO_DIR"
git init -b main
# Configure git
git config user.email "test@example.com"
git config user.name "Test User"
# Create initial files and commit
# Create initial files
echo "# Test Project" > README.md
echo "line1" > file1.txt
echo "line1" > file2.txt
echo "line2" > file2.txt
git add .
git commit -m "Initial commit"
# Create a feature branch
# Create feature branch with changes
git checkout -b feature-branch
echo "feature work" >> file1.txt
echo "feature content" > feature.txt
git add .
git commit -m "Feature work"
git commit -m "Add feature"
# Go back to main and make some uncommitted changes
git checkout main
# Create some unstaged changes
echo "modified" >> file1.txt
echo "new file" > new-file.txt
# Create untracked file
echo "new file content" > newfile.txt
# Stage one file
echo "staged content" >> file2.txt
git add file2.txt
echo "Test repo created at $TEST_REPO"
echo " - main branch with 1 commit"
echo " - feature-branch with 1 extra commit"
echo " - 1 staged file (file2.txt)"
echo " - 1 unstaged file (file1.txt)"
echo " - 1 untracked file (newfile.txt)"
echo "Test repo created at $REPO_DIR"
+23 -16
View File
@@ -1,5 +1,5 @@
# VHS E2E test for lazygitclj - Stash operations
# Tests stash functionality (s for quick stash, S for stash menu)
# Tests stash push, apply, pop, drop
Output test/e2e/output/stash-operations.gif
Output test/e2e/output/stash-operations.ascii
@@ -12,41 +12,48 @@ Set Width 1000
Set Height 600
Set Framerate 10
# Setup test repo with changes and run lazygitclj
# Setup test repo and run lazygitclj
Type "./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-stash && cd /tmp/lazygitclj-e2e-stash && bb --config /home/ajet/repos/lazygitclj/bb.edn start"
Enter
Sleep 2s
# Should be on Files panel with staged and unstaged files
# Quick stash all changes with 's'
# Should see modified files in Files panel
# Stash all changes with 's'
Type "s"
Sleep 1s
# Files panel should now be clean, check stash panel
Type "4"
# Working tree should now be clean
# Switch to stash panel (5)
Type "5"
Sleep 500ms
# Should see one stash entry
# Navigate to stash and apply it with space
# Should see 1 stash entry
# Apply stash with space
Type " "
Sleep 1s
# Go back to files panel - should see changes restored
Type "1"
# Pop stash with g (should remove it)
Type "g"
Sleep 1s
# Create another stash by going back to files
Type "2"
Sleep 500ms
# Stash again with 's'
# Make changes visible, stash again
Type "r"
Sleep 500ms
Type "s"
Sleep 1s
# Go to stash panel
Type "4"
# Go to stash panel and drop
Type "5"
Sleep 500ms
# Pop the stash with 'g' (apply and remove)
Type "g"
Type "d"
Sleep 1s
# Stash should be dropped
# Quit
Type "q"
Sleep 1s