> ──────────────────────────────────────────────────────────────────────────────── > ──────────────────────────────────────────────────────────────────────────────── > ──────────────────────────────────────────────────────────────────────────────── > ──────────────────────────────────────────────────────────────────────────────── > ──────────────────────────────────────────────────────────────────────────────── > ──────────────────────────────────────────────────────────────────────────────── > ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-branch && cd /tmp/lazygitclj-e2e-branch && bb --config /home/ajet/repos/lazygitclj/bb.edn start ──────────────────────────────────────────────────────────────────────────────── > ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-branch && cd /tmp/lazygitclj-e2e-branch && bb --config /home/ajet/repos/lazygitclj/bb.edn start Initialized empty Git repository in /tmp/lazygitclj-e2e-branch/.git/ [main (root-commit) 2fd85bf] 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 069f438] Add feature 1 file changed, 1 insertion(+) create mode 100644 feature.txt Switched to branch 'main' Test repo created at /tmp/lazygitclj-e2e-branch Starting lazygitclj... ──────────────────────────────────────────────────────────────────────────────── ┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐ │ main → 2fd85bf │ │ diff --git a/file1.txt b/file1.txt │ └────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │ ╔═ 2 Files (2) ══════════════╗ │ --- a/file1.txt │ ║ M file1.txt ║ │ +++ b/file1.txt │ ║ ?? new-file.txt ║ │ @@ -1 +1,2 @@ │ ║ ║ │ line1 │ ║ ║ │ +modified │ ╚════════════════════════════╝ │ │ ┌─ 3 Branches [L] R T ───────┐ │ │ │ feature-branch │ │ │ │ * main │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ┌─ 4 Commits [C] R ──────────┐ │ │ │ 2fd85bf 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 → 2fd85bf │ │ diff --git a/file1.txt b/file1.txt │ └────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │ ╔═ 2 Files (2) ══════════════╗ │ --- a/file1.txt │ ║ M file1.txt ║ │ +++ b/file1.txt │ ║ A new-file.txt ║ │ @@ -1 +1,2 @@ │ ║ ║ │ line1 │ ║ ║ │ +modified │ ╚════════════════════════════╝ │ │ ┌─ 3 Branches [L] R T ───────┐ │ │ │ feature-branch │ │ │ │ * main │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ┌─ 4 Commits [C] R ──────────┐ │ │ │ 2fd85bf 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 → 2fd85bf │ │ diff --git a/file1.txt b/file1.txt │ └────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │ ╔═ 2 Files (2) ══════════════╗ │ --- a/file1.txt │ ║ M file1.txt ║ │ +++ b/file1.txt │ ║ A new-file.txt ║ │ @@ -1 +1,2 @@ │ ║ ║ │ line1 │ ║ ║ │ +modified │ ╚════════════════════════════╝ │ │ ┌─ 3 Branches [L] R T ───────┐ │ │ │ feature-branch │ │ │ │ * main │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ┌─ 4 Commits [C] R ──────────┐ │ │ │ 2fd85bf 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 → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches [L] R T ═══════╗ │ │ ║ feature-branch ║ │ │ ║ * main ║ │ │ ║ ║ │ │ ║ ║ │ │ ╚════════════════════════════╝ │ │ ┌─ 4 Commits [C] R ──────────┐ │ │ │ 2fd85bf 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 → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches [L] R T ═══════╗ │ │ ║ feature-branch ║ │ │ ║ * main ║ │ │ ║ ║ │ │ ║ ║ │ │ ╚════════════════════════════╝ │ │ ┌─ 4 Commits [C] R ──────────┐ │ │ │ 2fd85bf 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 → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches [L] R T ═══════╗ │ │ ║ feature-branch ║ │ │ ║ * main ║ │ │ ║ ║ │ │ ║ ╭─ New Branch Name ──────────────────────────────╮ │ ╚═════════════════════│ █ │ │ ┌─ 4 Commits [C] R ───╰────────────────────────────────────────────────╯ │ │ 2fd85bf 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 → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches [L] R T ═══════╗ │ │ ║ feature-branch ║ │ │ ║ * main ║ │ │ ║ ║ │ │ ║ ╭─ New Branch Name ──────────────────────────────╮ │ ╚═════════════════════│ █ │ │ ┌─ 4 Commits [C] R ───╰────────────────────────────────────────────────╯ │ │ 2fd85bf 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 → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches [L] R T ═══════╗ │ │ ║ feature-branch ║ │ │ ║ * main ║ │ │ ║ ║ │ │ ║ ╭─ New Branch Name ──────────────────────────────╮ │ ╚═════════════════════│ █ │ │ ┌─ 4 Commits [C] R ───╰────────────────────────────────────────────────╯ │ │ 2fd85bf 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 → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches [L] R T ═══════╗ │ │ ║ feature-branch ║ │ │ ║ * main ║ │ │ ║ ║ │ │ ║ ╭─ New Branch Name ──────────────────────────────╮ │ ╚═════════════════════│ test-branch█ │ │ ┌─ 4 Commits [C] R ───╰────────────────────────────────────────────────╯ │ │ 2fd85bf 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 ──────────────────────────────────────────────────────────────────────────────── Created branch test-branch ┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐ │ test-branch → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches [L] R T ═══════╗ │ │ ║ feature-branch ║ │ │ ║ main ║ │ │ ║ * test-branch ║ │ │ ║ ║ │ │ ╚════════════════════════════╝ │ │ ┌─ 4 Commits [C] R ──────────┐ │ │ │ 2fd85bf 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 ──────────────────────────────────────────────────────────────────────────────── Created branch test-branch ┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐ │ test-branch → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches [L] R T ═══════╗ │ │ ║ feature-branch ║ │ │ ║ main ║ │ │ ║ * test-branch ║ │ │ ║ ║ │ │ ╚════════════════════════════╝ │ │ ┌─ 4 Commits [C] R ──────────┐ │ │ │ 2fd85bf 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 ──────────────────────────────────────────────────────────────────────────────── Created branch test-branch ┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐ │ test-branch → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches [L] R T ═══════╗ │ │ ║ feature-branch ║ │ │ ║ main ║ │ │ ║ * test-branch ║ │ │ ║ ║ │ │ ╚════════════════════════════╝ │ │ ┌─ 4 Commits [C] R ──────────┐ │ │ │ 2fd85bf 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 ──────────────────────────────────────────────────────────────────────────────── Created branch test-branch ┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐ │ test-branch → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches [L] R T ═══════╗ │ │ ║ feature-branch ║ │ │ ║ main ║ │ │ ║ * test-branch ║ │ │ ║ ║ │ │ ╚════════════════════════════╝ │ │ ┌─ 4 Commits [C] R ──────────┐ │ │ │ 2fd85bf 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 ──────────────────────────────────────────────────────────────────────────────── Created branch test-branch ┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐ │ test-branch → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches [L] R T ═══════╗ │ │ ║ feature-branch ║ │ │ ║ main ║ │ │ ║ * test-branch ║ │ │ ║ ║ │ │ ╚════════════════════════════╝ │ │ ┌─ 4 Commits [C] R ──────────┐ │ │ │ 2fd85bf 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 ──────────────────────────────────────────────────────────────────────────────── Created branch test-branch ┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐ │ test-branch → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches [L] R T ═══════╗ │ │ ║ feature-branch ║ │ │ ║ main ║ │ │ ║ * test-branch ║ │ │ ║ ║ │ │ ╚════════════════════════════╝ │ │ ┌─ 4 Commits [C] R ──────────┐ │ │ │ 2fd85bf 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 ──────────────────────────────────────────────────────────────────────────────── Created branch test-branch ┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐ │ test-branch → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches [L] R T ═══════╗ │ │ ║ feature-branch ║ │ │ ║ main ║ │ │ ║ * test-branch ║ │ │ ║ ║ │ │ ╚════════════════════════════╝ │ │ ┌─ 4 Commits [C] R ──────────┐ │ │ │ 2fd85bf 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 ──────────────────────────────────────────────────────────────────────────────── Created branch test-branch ┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐ │ test-branch → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches [L] R T ═══════╗ │ │ ║ feature-branch ║ │ │ ║ main ║ │ │ ║ * test-branch ║ │ │ ║ ║ │ │ ╚════════════════════════════╝ │ │ ┌─ 4 Commits [C] R ──────────┐ │ │ │ 2fd85bf 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 ──────────────────────────────────────────────────────────────────────────────── Created branch test-branch ┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐ │ test-branch → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches [L] R T ═══════╗ │ │ ║ feature-branch ║ │ │ ║ main ║ │ │ ║ * test-branch ║ │ │ ║ ║ │ │ ╚════════════════════════════╝ │ │ ┌─ 4 Commits [C] R ──────────┐ │ │ │ 2fd85bf 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 ──────────────────────────────────────────────────────────────────────────────── Created branch test-branch ┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐ │ test-branch → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches [L] R T ═══════╗ │ │ ║ feature-branch ║ │ │ ║ main ║ │ │ ║ * test-branch ║ │ │ ║ ║ │ │ ╚════════════════════════════╝ │ │ ┌─ 4 Commits [C] R ──────────┐ │ │ │ 2fd85bf 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 ──────────────────────────────────────────────────────────────────────────────── Created branch test-branch ┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐ │ test-branch → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches [L] R T ═══════╗ │ │ ║ feature-branch ║ │ │ ║ main ║ │ │ ║ * test-branch ║ │ │ ║ ║ │ │ ╚════════════════════════════╝ │ │ ┌─ 4 Commits [C] R ──────────┐ │ │ │ 2fd85bf 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 ──────────────────────────────────────────────────────────────────────────────── Created branch test-branch ┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐ │ test-branch → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches [L] R T ═══════╗ │ │ ║ feature-branch ║ │ │ ║ main ║ │ │ ║ * test-branch ║ │ │ ║ ║ │ │ ╚════════════════════════════╝ │ │ ┌─ 4 Commits [C] R ──────────┐ │ │ │ 2fd85bf 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 ──────────────────────────────────────────────────────────────────────────────── Deleted branch feature-branch ┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐ │ test-branch → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches [L] R T ═══════╗ │ │ ║ feature-branch ║ │ │ ║ main ║ │ │ ║ * test-branch ║ │ │ ║ ║ │ │ ╚════════════════════════════╝ │ │ ┌─ 4 Commits [C] R ──────────┐ │ │ │ 2fd85bf 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 ──────────────────────────────────────────────────────────────────────────────── Deleted branch feature-branch ┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐ │ test-branch → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches [L] R T ═══════╗ │ │ ║ feature-branch ║ │ │ ║ main ║ │ │ ║ * test-branch ║ │ │ ║ ║ │ │ ╚════════════════════════════╝ │ │ ┌─ 4 Commits [C] R ──────────┐ │ │ │ 2fd85bf 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 ──────────────────────────────────────────────────────────────────────────────── Deleted branch feature-branch ┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐ │ test-branch → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches L [R] T ═══════╗ │ │ ║ No remotes ║ │ │ ║ ║ │ │ ║ ║ │ │ ║ ║ │ │ ╚════════════════════════════╝ │ │ ┌─ 4 Commits [C] R ──────────┐ │ │ │ 2fd85bf 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 ──────────────────────────────────────────────────────────────────────────────── Deleted branch feature-branch ┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐ │ test-branch → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches L [R] T ═══════╗ │ │ ║ No remotes ║ │ │ ║ ║ │ │ ║ ║ │ │ ║ ║ │ │ ╚════════════════════════════╝ │ │ ┌─ 4 Commits [C] R ──────────┐ │ │ │ 2fd85bf 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 ──────────────────────────────────────────────────────────────────────────────── Deleted branch feature-branch ┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐ │ test-branch → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches L R [T] ═══════╗ │ │ ║ No tags ║ │ │ ║ ║ │ │ ║ ║ │ │ ║ ║ │ │ ╚════════════════════════════╝ │ │ ┌─ 4 Commits [C] R ──────────┐ │ │ │ 2fd85bf 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 ──────────────────────────────────────────────────────────────────────────────── Deleted branch feature-branch ┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐ │ test-branch → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches L R [T] ═══════╗ │ │ ║ No tags ║ │ │ ║ ║ │ │ ║ ║ │ │ ║ ║ │ │ ╚════════════════════════════╝ │ │ ┌─ 4 Commits [C] R ──────────┐ │ │ │ 2fd85bf 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 ──────────────────────────────────────────────────────────────────────────────── Deleted branch feature-branch ┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐ │ test-branch → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches L [R] T ═══════╗ │ │ ║ No remotes ║ │ │ ║ ║ │ │ ║ ║ │ │ ║ ║ │ │ ╚════════════════════════════╝ │ │ ┌─ 4 Commits [C] R ──────────┐ │ │ │ 2fd85bf 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 ──────────────────────────────────────────────────────────────────────────────── Deleted branch feature-branch ┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐ │ test-branch → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches L [R] T ═══════╗ │ │ ║ No remotes ║ │ │ ║ ║ │ │ ║ ║ │ │ ║ ║ │ │ ╚════════════════════════════╝ │ │ ┌─ 4 Commits [C] R ──────────┐ │ │ │ 2fd85bf 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 ──────────────────────────────────────────────────────────────────────────────── Deleted branch feature-branch ┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐ │ test-branch → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches [L] R T ═══════╗ │ │ ║ feature-branch ║ │ │ ║ main ║ │ │ ║ * test-branch ║ │ │ ║ ║ │ │ ╚════════════════════════════╝ │ │ ┌─ 4 Commits [C] R ──────────┐ │ │ │ 2fd85bf 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 ──────────────────────────────────────────────────────────────────────────────── Deleted branch feature-branch ┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐ │ test-branch → 2fd85bf │ │ │ └────────────────────────────┘ │ │ ┌─ 2 Files (2) ──────────────┐ │ │ │ M file1.txt │ │ │ │ A new-file.txt │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────┘ │ │ ╔═ 3 Branches [L] R T ═══════╗ │ │ ║ feature-branch ║ │ │ ║ main ║ │ │ ║ * test-branch ║ │ │ ║ ║ │ │ ╚════════════════════════════╝ │ │ ┌─ 4 Commits [C] R ──────────┐ │ │ │ 2fd85bf 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 ──────────────────────────────────────────────────────────────────────────────── > ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-branch && cd /tmp/lazygitclj-e2e-branch && bb --config /home/ajet/repos/lazygitclj/bb.edn start Initialized empty Git repository in /tmp/lazygitclj-e2e-branch/.git/ [main (root-commit) 2fd85bf] 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 069f438] Add feature 1 file changed, 1 insertion(+) create mode 100644 feature.txt Switched to branch 'main' Test repo created at /tmp/lazygitclj-e2e-branch Starting lazygitclj... Goodbye! > ──────────────────────────────────────────────────────────────────────────────── > ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-branch && cd /tmp/lazygitclj-e2e-branch && bb --config /home/ajet/repos/lazygitclj/bb.edn start Initialized empty Git repository in /tmp/lazygitclj-e2e-branch/.git/ [main (root-commit) 2fd85bf] 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 069f438] Add feature 1 file changed, 1 insertion(+) create mode 100644 feature.txt Switched to branch 'main' Test repo created at /tmp/lazygitclj-e2e-branch Starting lazygitclj... Goodbye! > ────────────────────────────────────────────────────────────────────────────────