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>
757 lines
49 KiB
Plaintext
757 lines
49 KiB
Plaintext
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
> ./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!
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|