Compare commits
25 Commits
2657545018
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 890243d7a3 | |||
| c69c254512 | |||
| 6378c4910b | |||
| 0c5d69e7b2 | |||
| 9940d53f79 | |||
| c814f3618a | |||
| 1ec1171c9b | |||
| b3cd896fd5 | |||
| 1858f3e5d0 | |||
| f77bf3bbfc | |||
| e80dfdf8e9 | |||
| 51ba410f15 | |||
| e7c975fdea | |||
| f51f8b743d | |||
| 785d07b08f | |||
| 9d1fd59644 | |||
| 8f970ed5b4 | |||
| 0702d27166 | |||
| 2c103f7f96 | |||
| 52a1054757 | |||
| 7c2e9b9abf | |||
| 2f27c1791b | |||
| f0c65dedf5 | |||
| a1334709df | |||
| 0d4643b57a |
@@ -0,0 +1,59 @@
|
|||||||
|
name: SCIP Index
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: ['**']
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
index:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Clone clojure-tui (local dependency)
|
||||||
|
run: git clone https://git.ajet.fyi/ajet/clojure-tui.git ../clojure-tui
|
||||||
|
|
||||||
|
- name: Setup Java
|
||||||
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y openjdk-17-jdk
|
||||||
|
echo "JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Install Clojure CLI
|
||||||
|
run: curl -fsSL https://download.clojure.org/install/linux-install-1.12.0.1501.sh | sudo bash
|
||||||
|
|
||||||
|
- name: Install Babashka
|
||||||
|
run: |
|
||||||
|
curl -fsSL https://raw.githubusercontent.com/babashka/babashka/master/install | sudo bash
|
||||||
|
|
||||||
|
- name: Install clojure-lsp
|
||||||
|
run: |
|
||||||
|
mkdir -p /usr/local/bin
|
||||||
|
curl -fsSL https://github.com/clojure-lsp/clojure-lsp/releases/latest/download/clojure-lsp-native-static-linux-amd64.zip -o /tmp/clojure-lsp.zip
|
||||||
|
unzip -o /tmp/clojure-lsp.zip -d /usr/local/bin/
|
||||||
|
chmod +x /usr/local/bin/clojure-lsp
|
||||||
|
|
||||||
|
- name: Clone and build scip-clojure
|
||||||
|
run: |
|
||||||
|
git clone https://git.ajet.fyi/ajet/scip-clojure.git /tmp/scip-clojure
|
||||||
|
cd /tmp/scip-clojure
|
||||||
|
clojure -T:build compile-java
|
||||||
|
|
||||||
|
- name: Generate SCIP index
|
||||||
|
run: |
|
||||||
|
cd /tmp/scip-clojure
|
||||||
|
clojure -M:run -p $GITHUB_WORKSPACE -o $GITHUB_WORKSPACE/index.scip -m $GITHUB_WORKSPACE/package-map.edn
|
||||||
|
env:
|
||||||
|
CLOJURE_LSP_PATH: /usr/local/bin/clojure-lsp
|
||||||
|
|
||||||
|
- name: Install Sourcegraph CLI
|
||||||
|
run: |
|
||||||
|
curl -fsSL https://sourcegraph.com/.api/src-cli/src_linux_amd64 -o /usr/local/bin/src
|
||||||
|
chmod +x /usr/local/bin/src
|
||||||
|
|
||||||
|
- name: Upload to Sourcegraph
|
||||||
|
run: src code-intel upload -file=index.scip
|
||||||
|
env:
|
||||||
|
SRC_ENDPOINT: ${{ secrets.SRC_ENDPOINT }}
|
||||||
|
SRC_ACCESS_TOKEN: ${{ secrets.SRC_ACCESS_TOKEN }}
|
||||||
@@ -2,8 +2,14 @@
|
|||||||
.nrepl-port
|
.nrepl-port
|
||||||
target/
|
target/
|
||||||
*.jar
|
*.jar
|
||||||
|
.clj-kondo/
|
||||||
|
.lsp/
|
||||||
|
index.scip
|
||||||
|
|
||||||
# Generated test outputs
|
# VHS test outputs (generated artifacts, not needed in repo)
|
||||||
test/e2e/output/
|
test/e2e/output/
|
||||||
test/e2e/*.gif
|
test/e2e/debug.tape
|
||||||
test/e2e/*.png
|
test/e2e/aspect-ratio/*.gif
|
||||||
|
|
||||||
|
# Nested test output directories (created by VHS when run from wrong directory)
|
||||||
|
test/e2e/test/
|
||||||
|
|||||||
@@ -8,10 +8,23 @@
|
|||||||
|
|
||||||
## Local TUI Library
|
## Local TUI Library
|
||||||
|
|
||||||
- The TUI library is at `../clojure-tui/` (local dependency in bb.edn)
|
- The TUI library is at `../clojure-tui/` — use local override for development:
|
||||||
|
```
|
||||||
|
bb -Sdeps '{:deps {io.github.ajet/clojure-tui {:local/root "../clojure-tui"}}}' start
|
||||||
|
```
|
||||||
|
- `bb.edn` uses a git dep (for bbin install), override with `:local/root` when developing against local TUI changes
|
||||||
- You have access to edit the local TUI library in conjunction with this repo
|
- You have access to edit the local TUI library in conjunction with this repo
|
||||||
- Use this access to debug issues, support new features, and simplify code
|
- Use this access to debug issues, support new features, and simplify code
|
||||||
- Look for opportunities to create better abstraction primitives for TUI layout
|
- Look for opportunities to create better abstraction primitives for TUI layout
|
||||||
|
- When updating the TUI library, update the `:git/sha` in `bb.edn` after pushing clojure-tui changes
|
||||||
|
|
||||||
|
## Installation (bbin)
|
||||||
|
|
||||||
|
End users install from Gitea:
|
||||||
|
```
|
||||||
|
bbin install https://git.ajet.fyi/ajet/lazygitclj.git
|
||||||
|
```
|
||||||
|
This requires the `clojure-tui` git dep SHA in `bb.edn` to be up-to-date and pushed.
|
||||||
|
|
||||||
## Testing with VHS
|
## Testing with VHS
|
||||||
|
|
||||||
@@ -52,9 +65,11 @@ test/
|
|||||||
| Command | Purpose |
|
| Command | Purpose |
|
||||||
|---------|---------|
|
|---------|---------|
|
||||||
| `bb start` | Run lazygitclj TUI |
|
| `bb start` | Run lazygitclj TUI |
|
||||||
|
| `bb -Sdeps '{:deps {io.github.ajet/clojure-tui {:local/root "../clojure-tui"}}}' start` | Run with local TUI lib |
|
||||||
| `bb debug` | Debug TUI layout issues |
|
| `bb debug` | Debug TUI layout issues |
|
||||||
| `bb test` | Run unit tests |
|
| `bb test` | Run unit tests |
|
||||||
| `bb test:e2e` | Run VHS tape tests |
|
| `bb test:e2e` | Run VHS tape tests |
|
||||||
|
| `bbin install https://git.ajet.fyi/ajet/lazygitclj.git` | Install for end users |
|
||||||
|
|
||||||
## Architecture: Elm Pattern
|
## Architecture: Elm Pattern
|
||||||
|
|
||||||
|
|||||||
@@ -74,3 +74,5 @@ bb test:e2e # Run VHS tape tests
|
|||||||
## License
|
## License
|
||||||
|
|
||||||
MIT
|
MIT
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,23 @@
|
|||||||
{:paths ["src" "test"]
|
{:paths ["src" "test"]
|
||||||
:deps {io.github.ajet/clojure-tui {:local/root "../clojure-tui"}}
|
:deps {io.github.ajet/clojure-tui {:git/url "https://git.ajet.fyi/ajet/clojure-tui.git"
|
||||||
:tasks {start {:doc "Run lazygitclj"
|
:git/sha "4a051304888d5b4d937262decba919e1a79dd03d"}}
|
||||||
|
:bbin/bin {lazygitclj {:main-opts ["-m" "lazygitclj.core"]}}
|
||||||
|
:tasks {:requires ([e2e])
|
||||||
|
start {:doc "Run lazygitclj"
|
||||||
:task (exec 'lazygitclj.core/-main)}
|
:task (exec 'lazygitclj.core/-main)}
|
||||||
test {:doc "Run unit tests"
|
test {:doc "Run unit tests"
|
||||||
:task (load-file "test/run-tests.clj")}
|
:task (load-file "test/run-tests.clj")}
|
||||||
test:unit {:doc "Run unit tests"
|
test:unit {:doc "Run unit tests"
|
||||||
:task (load-file "test/run-tests.clj")}
|
:task (load-file "test/run-tests.clj")}
|
||||||
test:e2e {:doc "Run e2e VHS tests"
|
test:e2e {:doc "Run e2e VHS tests"
|
||||||
:task (shell "test/e2e/run-all.sh")}}}
|
:task (e2e/run-all)}
|
||||||
|
e2e:setup {:doc "Setup standard e2e test repo"
|
||||||
|
:task (e2e/setup-test-repo)}
|
||||||
|
e2e:setup-cursor {:doc "Setup cursor navigation test repo"
|
||||||
|
:task (e2e/setup-cursor-test-repo)}
|
||||||
|
e2e:setup-branch-order {:doc "Setup branch order test repo"
|
||||||
|
:task (e2e/setup-branch-order-test-repo)}
|
||||||
|
e2e:cleanup-branch-order {:doc "Cleanup branch order test repo"
|
||||||
|
:task (e2e/cleanup-branch-order-test-repo)}
|
||||||
|
e2e:cleanup {:doc "Cleanup all e2e test repos"
|
||||||
|
:task (e2e/cleanup-all)}}}
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{:paths ["src"]
|
||||||
|
:deps {io.github.ajet/clojure-tui {:git/url "https://git.ajet.fyi/ajet/clojure-tui.git"
|
||||||
|
:git/sha "4a051304888d5b4d937262decba919e1a79dd03d"}}}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
;; Package map for cross-repository SCIP navigation
|
||||||
|
;; Maps namespace prefixes to package@version coordinates
|
||||||
|
;;
|
||||||
|
;; This enables Sourcegraph to resolve cross-repo references:
|
||||||
|
;; - "tui" prefix -> clojure-tui repository
|
||||||
|
;; - "lazygitclj" prefix -> this repository
|
||||||
|
|
||||||
|
{"tui" "io.github.ajet/clojure-tui@main"
|
||||||
|
"lazygitclj" "io.github.ajet/lazygitclj@main"}
|
||||||
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 103 KiB After Width: | Height: | Size: 121 KiB |
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 117 KiB After Width: | Height: | Size: 107 KiB |
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 42 KiB |
@@ -86,13 +86,23 @@
|
|||||||
;; === Branches ===
|
;; === Branches ===
|
||||||
|
|
||||||
(defn branches
|
(defn branches
|
||||||
"Returns list of local branches."
|
"Returns list of local branches, sorted by last commit date (newest first).
|
||||||
|
This matches lazygit's default branch ordering."
|
||||||
[]
|
[]
|
||||||
(->> (sh "git" "branch" "--format=%(refname:short)")
|
(->> (sh "git" "for-each-ref"
|
||||||
|
"--sort=-committerdate"
|
||||||
|
"--format=%(refname:short)"
|
||||||
|
"refs/heads/")
|
||||||
lines))
|
lines))
|
||||||
|
|
||||||
(defn remote-branches []
|
(defn remote-branches
|
||||||
(->> (sh "git" "branch" "-r" "--format=%(refname:short)")
|
"Returns list of remote branches, sorted by last commit date (newest first).
|
||||||
|
This matches lazygit's default remote branch ordering."
|
||||||
|
[]
|
||||||
|
(->> (sh "git" "for-each-ref"
|
||||||
|
"--sort=-committerdate"
|
||||||
|
"--format=%(refname:short)"
|
||||||
|
"refs/remotes/")
|
||||||
lines))
|
lines))
|
||||||
|
|
||||||
;; === Actions ===
|
;; === Actions ===
|
||||||
@@ -426,3 +436,21 @@
|
|||||||
"Checkout a tag (detached HEAD)."
|
"Checkout a tag (detached HEAD)."
|
||||||
[name]
|
[name]
|
||||||
(sh "git" "checkout" name))
|
(sh "git" "checkout" name))
|
||||||
|
|
||||||
|
;; === Patch Application ===
|
||||||
|
|
||||||
|
(defn apply-patch-cached
|
||||||
|
"Apply a patch to the index via stdin (stage a hunk)."
|
||||||
|
[patch-text]
|
||||||
|
(try
|
||||||
|
(shell {:in patch-text :out :string :err :string} "git" "apply" "--cached")
|
||||||
|
true
|
||||||
|
(catch Exception _ false)))
|
||||||
|
|
||||||
|
(defn unapply-patch-cached
|
||||||
|
"Reverse-apply a patch from the index via stdin (unstage a hunk)."
|
||||||
|
[patch-text]
|
||||||
|
(try
|
||||||
|
(shell {:in patch-text :out :string :err :string} "git" "apply" "--cached" "-R")
|
||||||
|
true
|
||||||
|
(catch Exception _ false)))
|
||||||
|
|||||||
@@ -0,0 +1,247 @@
|
|||||||
|
(ns e2e
|
||||||
|
"E2E test utilities and runner for VHS tape tests."
|
||||||
|
(:require [babashka.fs :as fs]
|
||||||
|
[babashka.process :refer [shell]]
|
||||||
|
[clojure.string :as str]))
|
||||||
|
|
||||||
|
(defn sh
|
||||||
|
"Run shell command, return exit code."
|
||||||
|
[& args]
|
||||||
|
(:exit (apply shell {:continue true :out :inherit :err :inherit} args)))
|
||||||
|
|
||||||
|
(defn sh-quiet
|
||||||
|
"Run shell command quietly, return exit code."
|
||||||
|
[& args]
|
||||||
|
(:exit (apply shell {:continue true :out nil :err nil} args)))
|
||||||
|
|
||||||
|
(defn setup-test-repo
|
||||||
|
"Setup a test git repository for e2e tests.
|
||||||
|
Usage: (setup-test-repo) or (setup-test-repo \"/tmp/my-repo\")"
|
||||||
|
([] (setup-test-repo "/tmp/lazygitclj-e2e-test"))
|
||||||
|
([repo-dir]
|
||||||
|
(fs/delete-tree repo-dir)
|
||||||
|
(fs/create-dirs repo-dir)
|
||||||
|
|
||||||
|
;; Initialize repo
|
||||||
|
(shell {:dir repo-dir} "git" "init" "-b" "main")
|
||||||
|
(shell {:dir repo-dir} "git" "config" "user.email" "test@example.com")
|
||||||
|
(shell {:dir repo-dir} "git" "config" "user.name" "Test User")
|
||||||
|
|
||||||
|
;; Create initial files
|
||||||
|
(spit (fs/file repo-dir "README.md") "# Test Project\n")
|
||||||
|
(spit (fs/file repo-dir "file1.txt") "line1\n")
|
||||||
|
(spit (fs/file repo-dir "file2.txt") "line2\n")
|
||||||
|
(shell {:dir repo-dir} "git" "add" ".")
|
||||||
|
(shell {:dir repo-dir} "git" "commit" "-m" "Initial commit")
|
||||||
|
|
||||||
|
;; Create feature branch with changes
|
||||||
|
(shell {:dir repo-dir} "git" "checkout" "-b" "feature-branch")
|
||||||
|
(spit (fs/file repo-dir "feature.txt") "feature content\n")
|
||||||
|
(shell {:dir repo-dir} "git" "add" ".")
|
||||||
|
(shell {:dir repo-dir} "git" "commit" "-m" "Add feature")
|
||||||
|
|
||||||
|
;; Go back to main and make uncommitted changes
|
||||||
|
(shell {:dir repo-dir} "git" "checkout" "main")
|
||||||
|
(spit (fs/file repo-dir "file1.txt") "line1\nmodified\n")
|
||||||
|
(spit (fs/file repo-dir "new-file.txt") "new file\n")
|
||||||
|
|
||||||
|
(println "Test repo created at" repo-dir)
|
||||||
|
repo-dir))
|
||||||
|
|
||||||
|
(defn setup-cursor-test-repo
|
||||||
|
"Setup test repo with many files for cursor navigation tests."
|
||||||
|
([] (setup-cursor-test-repo "/tmp/lazygitclj-e2e-cursor"))
|
||||||
|
([repo-dir]
|
||||||
|
(fs/delete-tree repo-dir)
|
||||||
|
(fs/create-dirs repo-dir)
|
||||||
|
|
||||||
|
;; Initialize repo
|
||||||
|
(shell {:dir repo-dir} "git" "init" "-b" "main")
|
||||||
|
(shell {:dir repo-dir} "git" "config" "user.email" "test@test.com")
|
||||||
|
(shell {:dir repo-dir} "git" "config" "user.name" "Test")
|
||||||
|
|
||||||
|
;; Create 20 files
|
||||||
|
(doseq [i (range 1 21)]
|
||||||
|
(spit (fs/file repo-dir (str "file" i ".txt")) (str "content " i "\n")))
|
||||||
|
|
||||||
|
(shell {:dir repo-dir} "git" "add" ".")
|
||||||
|
(shell {:dir repo-dir} "git" "commit" "-m" "Initial")
|
||||||
|
|
||||||
|
;; Modify all files to create unstaged changes
|
||||||
|
(doseq [i (range 1 21)]
|
||||||
|
(spit (fs/file repo-dir (str "file" i ".txt"))
|
||||||
|
(str "content " i "\nmodified " i "\n")))
|
||||||
|
|
||||||
|
(println "Cursor test repo created at" repo-dir)
|
||||||
|
repo-dir))
|
||||||
|
|
||||||
|
(defn setup-branch-order-test-repo
|
||||||
|
"Setup test repo with branches having different commit dates to test sorting.
|
||||||
|
Creates branches in alphabetical order but with commits in reverse order,
|
||||||
|
so date-sorted results should differ from alphabetical.
|
||||||
|
|
||||||
|
Commit dates:
|
||||||
|
- main: 2024-01-04 (newest, so it appears first)
|
||||||
|
- gamma-branch: 2024-01-03
|
||||||
|
- beta-branch: 2024-01-02
|
||||||
|
- alpha-branch: 2024-01-01 (oldest)
|
||||||
|
|
||||||
|
Expected date-sorted order: main, gamma-branch, beta-branch, alpha-branch
|
||||||
|
Alphabetical order would be: alpha-branch, beta-branch, gamma-branch, main"
|
||||||
|
([] (setup-branch-order-test-repo "/tmp/lazygitclj-e2e-branch-order"))
|
||||||
|
([repo-dir]
|
||||||
|
(fs/delete-tree repo-dir)
|
||||||
|
(fs/create-dirs repo-dir)
|
||||||
|
|
||||||
|
;; Initialize repo
|
||||||
|
(shell {:dir repo-dir} "git" "init" "-b" "main")
|
||||||
|
(shell {:dir repo-dir} "git" "config" "user.email" "test@example.com")
|
||||||
|
(shell {:dir repo-dir} "git" "config" "user.name" "Test User")
|
||||||
|
|
||||||
|
;; Initial commit on main (will be updated later with a specific date)
|
||||||
|
(spit (fs/file repo-dir "README.md") "# Branch Order Test\n")
|
||||||
|
(shell {:dir repo-dir} "git" "add" ".")
|
||||||
|
(shell {:dir repo-dir :extra-env {"GIT_COMMITTER_DATE" "2024-01-04T10:00:00"}}
|
||||||
|
"git" "commit" "-m" "Initial commit" "--date=2024-01-04T10:00:00")
|
||||||
|
|
||||||
|
;; Create branches with commits in specific order (oldest to newest):
|
||||||
|
;; alpha-branch (oldest) -> beta-branch -> gamma-branch -> main (newest)
|
||||||
|
;; This way, date-sorted order should be: main, gamma, beta, alpha
|
||||||
|
;; while alphabetical would be: alpha, beta, gamma, main
|
||||||
|
|
||||||
|
;; Create alpha-branch (oldest)
|
||||||
|
(shell {:dir repo-dir} "git" "checkout" "-b" "alpha-branch")
|
||||||
|
(spit (fs/file repo-dir "alpha.txt") "alpha content\n")
|
||||||
|
(shell {:dir repo-dir} "git" "add" ".")
|
||||||
|
;; Use GIT_COMMITTER_DATE to set specific commit times
|
||||||
|
(shell {:dir repo-dir :extra-env {"GIT_COMMITTER_DATE" "2024-01-01T10:00:00"}}
|
||||||
|
"git" "commit" "-m" "Add alpha" "--date=2024-01-01T10:00:00")
|
||||||
|
|
||||||
|
;; Create beta-branch (middle)
|
||||||
|
(shell {:dir repo-dir} "git" "checkout" "main")
|
||||||
|
(shell {:dir repo-dir} "git" "checkout" "-b" "beta-branch")
|
||||||
|
(spit (fs/file repo-dir "beta.txt") "beta content\n")
|
||||||
|
(shell {:dir repo-dir} "git" "add" ".")
|
||||||
|
(shell {:dir repo-dir :extra-env {"GIT_COMMITTER_DATE" "2024-01-02T10:00:00"}}
|
||||||
|
"git" "commit" "-m" "Add beta" "--date=2024-01-02T10:00:00")
|
||||||
|
|
||||||
|
;; Create gamma-branch
|
||||||
|
(shell {:dir repo-dir} "git" "checkout" "main")
|
||||||
|
(shell {:dir repo-dir} "git" "checkout" "-b" "gamma-branch")
|
||||||
|
(spit (fs/file repo-dir "gamma.txt") "gamma content\n")
|
||||||
|
(shell {:dir repo-dir} "git" "add" ".")
|
||||||
|
(shell {:dir repo-dir :extra-env {"GIT_COMMITTER_DATE" "2024-01-03T10:00:00"}}
|
||||||
|
"git" "commit" "-m" "Add gamma" "--date=2024-01-03T10:00:00")
|
||||||
|
|
||||||
|
;; Return to main
|
||||||
|
(shell {:dir repo-dir} "git" "checkout" "main")
|
||||||
|
|
||||||
|
(println "Branch order test repo created at" repo-dir)
|
||||||
|
(println "Expected date-sorted order: main, gamma-branch, beta-branch, alpha-branch")
|
||||||
|
repo-dir))
|
||||||
|
|
||||||
|
(defn cleanup-branch-order-test-repo
|
||||||
|
"Clean up the branch order test repo."
|
||||||
|
([] (cleanup-branch-order-test-repo "/tmp/lazygitclj-e2e-branch-order"))
|
||||||
|
([repo-dir]
|
||||||
|
(fs/delete-tree repo-dir)
|
||||||
|
(println "Cleaned up" repo-dir)))
|
||||||
|
|
||||||
|
(def test-repo-paths
|
||||||
|
"All test repo paths created by e2e tests."
|
||||||
|
["/tmp/lazygitclj-e2e-test"
|
||||||
|
"/tmp/lazygitclj-e2e-nav"
|
||||||
|
"/tmp/lazygitclj-e2e-stage"
|
||||||
|
"/tmp/lazygitclj-e2e-commit"
|
||||||
|
"/tmp/lazygitclj-e2e-commit-verify"
|
||||||
|
"/tmp/lazygitclj-e2e-branch"
|
||||||
|
"/tmp/lazygitclj-e2e-branches-tabs"
|
||||||
|
"/tmp/lazygitclj-e2e-commits-tabs"
|
||||||
|
"/tmp/lazygitclj-e2e-stash"
|
||||||
|
"/tmp/lazygitclj-e2e-stash-menu"
|
||||||
|
"/tmp/lazygitclj-e2e-help"
|
||||||
|
"/tmp/lazygitclj-e2e-reset"
|
||||||
|
"/tmp/lazygitclj-e2e-undo"
|
||||||
|
"/tmp/lazygitclj-e2e-cursor"
|
||||||
|
"/tmp/lazygitclj-e2e-branch-order"
|
||||||
|
;; Additional test repos from older/manual tests
|
||||||
|
"/tmp/lazygitclj-e2e-modal"
|
||||||
|
"/tmp/lazygitclj-e2e-modal-large"
|
||||||
|
"/tmp/lazygitclj-e2e-modal-narrow"
|
||||||
|
"/tmp/lazygitclj-e2e-modal-small"
|
||||||
|
"/tmp/lazygitclj-e2e-scroll"])
|
||||||
|
|
||||||
|
(defn cleanup-all
|
||||||
|
"Clean up all test repos."
|
||||||
|
[]
|
||||||
|
(println "Cleaning up e2e test repos...")
|
||||||
|
(doseq [path test-repo-paths]
|
||||||
|
(when (fs/exists? path)
|
||||||
|
(fs/delete-tree path)
|
||||||
|
(println " Removed" path)))
|
||||||
|
(println "Cleanup complete."))
|
||||||
|
|
||||||
|
(def tests
|
||||||
|
"List of e2e test tapes."
|
||||||
|
["test/e2e/navigation.tape"
|
||||||
|
"test/e2e/cursor-navigation.tape"
|
||||||
|
"test/e2e/staging.tape"
|
||||||
|
"test/e2e/commit.tape"
|
||||||
|
"test/e2e/commit-verify.tape"
|
||||||
|
"test/e2e/branches.tape"
|
||||||
|
"test/e2e/branch-operations.tape"
|
||||||
|
"test/e2e/branches-tabs.tape"
|
||||||
|
"test/e2e/branch-order.tape"
|
||||||
|
"test/e2e/commits-tabs.tape"
|
||||||
|
"test/e2e/stash-operations.tape"
|
||||||
|
"test/e2e/stash-menu.tape"
|
||||||
|
"test/e2e/help-panel.tape"
|
||||||
|
"test/e2e/reset-menu.tape"
|
||||||
|
"test/e2e/undo-redo.tape"])
|
||||||
|
|
||||||
|
(defn run-tape
|
||||||
|
"Run a single VHS tape, return true if passed."
|
||||||
|
[tape]
|
||||||
|
(println)
|
||||||
|
(println "Running:" tape)
|
||||||
|
(println "---")
|
||||||
|
(let [exit-code (sh-quiet "timeout" "60" "vhs" tape)]
|
||||||
|
(if (zero? exit-code)
|
||||||
|
(do (println "PASSED:" tape) true)
|
||||||
|
(do (println "FAILED:" tape) false))))
|
||||||
|
|
||||||
|
(defn run-all
|
||||||
|
"Run all VHS e2e tests."
|
||||||
|
[]
|
||||||
|
(println "Running lazygitclj VHS e2e tests...")
|
||||||
|
(println "=================================")
|
||||||
|
|
||||||
|
;; Clean up any leftover test repos before starting
|
||||||
|
(cleanup-all)
|
||||||
|
|
||||||
|
(let [results (map run-tape tests)
|
||||||
|
passed (count (filter true? results))
|
||||||
|
failed (count (filter false? results))]
|
||||||
|
|
||||||
|
(println)
|
||||||
|
(println "=================================")
|
||||||
|
(println (str "Results: " passed " passed, " failed " failed"))
|
||||||
|
(println "=================================")
|
||||||
|
|
||||||
|
;; Clean up after tests complete
|
||||||
|
(cleanup-all)
|
||||||
|
|
||||||
|
(when (pos? failed)
|
||||||
|
(System/exit 1))))
|
||||||
|
|
||||||
|
;; Allow running from command line
|
||||||
|
(when (= *file* (System/getProperty "babashka.file"))
|
||||||
|
(let [args *command-line-args*]
|
||||||
|
(case (first args)
|
||||||
|
"setup" (setup-test-repo (or (second args) "/tmp/lazygitclj-e2e-test"))
|
||||||
|
"setup-cursor" (setup-cursor-test-repo (or (second args) "/tmp/lazygitclj-e2e-cursor"))
|
||||||
|
"setup-branch-order" (setup-branch-order-test-repo (or (second args) "/tmp/lazygitclj-e2e-branch-order"))
|
||||||
|
"cleanup-branch-order" (cleanup-branch-order-test-repo (or (second args) "/tmp/lazygitclj-e2e-branch-order"))
|
||||||
|
"cleanup" (cleanup-all)
|
||||||
|
"run" (run-all)
|
||||||
|
(run-all))))
|
||||||
@@ -13,7 +13,7 @@ Set Height 600
|
|||||||
Set Framerate 10
|
Set Framerate 10
|
||||||
|
|
||||||
# Setup test repo and run lazygitclj
|
# Setup test repo and run lazygitclj
|
||||||
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"
|
Type "cd /home/ajet/repos/lazygitclj && bb e2e:setup /tmp/lazygitclj-e2e-branch && cd /tmp/lazygitclj-e2e-branch && bb --config /home/ajet/repos/lazygitclj/bb.edn start"
|
||||||
Enter
|
Enter
|
||||||
Sleep 2s
|
Sleep 2s
|
||||||
|
|
||||||
@@ -69,3 +69,8 @@ Sleep 500ms
|
|||||||
# Quit
|
# Quit
|
||||||
Type "q"
|
Type "q"
|
||||||
Sleep 1s
|
Sleep 1s
|
||||||
|
|
||||||
|
# Cleanup test repo
|
||||||
|
Type "rm -rf /tmp/lazygitclj-e2e-branch"
|
||||||
|
Enter
|
||||||
|
Sleep 500ms
|
||||||
|
|||||||
@@ -0,0 +1,66 @@
|
|||||||
|
# VHS E2E test for lazygitclj - Branch ordering by commit date
|
||||||
|
# Tests that branches are sorted by commit date (newest first) like lazygit
|
||||||
|
#
|
||||||
|
# Setup creates branches with specific commit dates:
|
||||||
|
# - main: 2024-01-04 (newest)
|
||||||
|
# - gamma-branch: 2024-01-03
|
||||||
|
# - beta-branch: 2024-01-02
|
||||||
|
# - alpha-branch: 2024-01-01 (oldest)
|
||||||
|
#
|
||||||
|
# Expected order in UI (by date): main, gamma-branch, beta-branch, alpha-branch
|
||||||
|
# Alphabetical order would be: alpha-branch, beta-branch, gamma-branch, main
|
||||||
|
|
||||||
|
Output test/e2e/output/branch-order.gif
|
||||||
|
Output test/e2e/output/branch-order.ascii
|
||||||
|
|
||||||
|
Require bb
|
||||||
|
|
||||||
|
Set Shell "bash"
|
||||||
|
Set FontSize 14
|
||||||
|
Set Width 1000
|
||||||
|
Set Height 600
|
||||||
|
Set Framerate 10
|
||||||
|
|
||||||
|
# Setup test repo with branches having different commit dates
|
||||||
|
Type "cd /home/ajet/repos/lazygitclj && bb e2e:setup-branch-order"
|
||||||
|
Enter
|
||||||
|
Sleep 1s
|
||||||
|
|
||||||
|
# Run lazygitclj in the test repo
|
||||||
|
Type "cd /tmp/lazygitclj-e2e-branch-order && bb --config /home/ajet/repos/lazygitclj/bb.edn start"
|
||||||
|
Enter
|
||||||
|
Sleep 2s
|
||||||
|
|
||||||
|
# Switch to Branches panel (panel 3)
|
||||||
|
Type "3"
|
||||||
|
Sleep 500ms
|
||||||
|
|
||||||
|
# The branches panel should show branches in date order:
|
||||||
|
# gamma-branch (newest), beta-branch, alpha-branch, main (oldest)
|
||||||
|
# Take a moment to verify the order visually
|
||||||
|
Sleep 2s
|
||||||
|
|
||||||
|
# Navigate down through the branches to verify order
|
||||||
|
Type "j"
|
||||||
|
Sleep 300ms
|
||||||
|
Type "j"
|
||||||
|
Sleep 300ms
|
||||||
|
Type "j"
|
||||||
|
Sleep 300ms
|
||||||
|
|
||||||
|
# Navigate back up
|
||||||
|
Type "k"
|
||||||
|
Sleep 300ms
|
||||||
|
Type "k"
|
||||||
|
Sleep 300ms
|
||||||
|
Type "k"
|
||||||
|
Sleep 300ms
|
||||||
|
|
||||||
|
# Quit
|
||||||
|
Type "q"
|
||||||
|
Sleep 1s
|
||||||
|
|
||||||
|
# Cleanup test repo
|
||||||
|
Type "cd /home/ajet/repos/lazygitclj && bb e2e:cleanup-branch-order"
|
||||||
|
Enter
|
||||||
|
Sleep 500ms
|
||||||
@@ -13,7 +13,7 @@ Set Height 600
|
|||||||
Set Framerate 10
|
Set Framerate 10
|
||||||
|
|
||||||
# Setup test repo with tags and run lazygitclj
|
# Setup test repo with tags and run lazygitclj
|
||||||
Type "./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-branches-tabs && cd /tmp/lazygitclj-e2e-branches-tabs && git tag v1.0.0 && bb --config /home/ajet/repos/lazygitclj/bb.edn start"
|
Type "cd /home/ajet/repos/lazygitclj && bb e2e:setup /tmp/lazygitclj-e2e-branches-tabs && cd /tmp/lazygitclj-e2e-branches-tabs && git tag v1.0.0 && bb --config /home/ajet/repos/lazygitclj/bb.edn start"
|
||||||
Enter
|
Enter
|
||||||
Sleep 2s
|
Sleep 2s
|
||||||
|
|
||||||
@@ -46,3 +46,8 @@ Sleep 500ms
|
|||||||
# Quit
|
# Quit
|
||||||
Type "q"
|
Type "q"
|
||||||
Sleep 1s
|
Sleep 1s
|
||||||
|
|
||||||
|
# Cleanup test repo
|
||||||
|
Type "rm -rf /tmp/lazygitclj-e2e-branches-tabs"
|
||||||
|
Enter
|
||||||
|
Sleep 500ms
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ Set Width 1000
|
|||||||
Set Height 600
|
Set Height 600
|
||||||
Set Framerate 10
|
Set Framerate 10
|
||||||
|
|
||||||
# Setup test repo (clean working tree) and run lazygitclj
|
# Setup test repo and run lazygitclj
|
||||||
Type "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/lazygitclj/bb.edn start"
|
Type "cd /home/ajet/repos/lazygitclj && bb e2e:setup /tmp/lazygitclj-e2e-branch && cd /tmp/lazygitclj-e2e-branch && bb --config /home/ajet/repos/lazygitclj/bb.edn start"
|
||||||
Enter
|
Enter
|
||||||
Sleep 2s
|
Sleep 2s
|
||||||
|
|
||||||
@@ -37,3 +37,8 @@ Sleep 500ms
|
|||||||
# Quit
|
# Quit
|
||||||
Type "q"
|
Type "q"
|
||||||
Sleep 1s
|
Sleep 1s
|
||||||
|
|
||||||
|
# Cleanup test repo
|
||||||
|
Type "rm -rf /tmp/lazygitclj-e2e-branch"
|
||||||
|
Enter
|
||||||
|
Sleep 500ms
|
||||||
|
|||||||
@@ -83,3 +83,8 @@ Sleep 500ms
|
|||||||
Type "git show --stat HEAD"
|
Type "git show --stat HEAD"
|
||||||
Enter
|
Enter
|
||||||
Sleep 1s
|
Sleep 1s
|
||||||
|
|
||||||
|
# Cleanup test repo
|
||||||
|
Type "rm -rf /tmp/lazygitclj-e2e-commit-verify"
|
||||||
|
Enter
|
||||||
|
Sleep 500ms
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ Set Height 600
|
|||||||
Set Framerate 10
|
Set Framerate 10
|
||||||
|
|
||||||
# Setup test repo and run lazygitclj
|
# 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"
|
Type "cd /home/ajet/repos/lazygitclj && bb e2e:setup /tmp/lazygitclj-e2e-commit && cd /tmp/lazygitclj-e2e-commit && bb --config /home/ajet/repos/lazygitclj/bb.edn start"
|
||||||
Enter
|
Enter
|
||||||
Sleep 2s
|
Sleep 2s
|
||||||
|
|
||||||
@@ -48,3 +48,8 @@ Sleep 500ms
|
|||||||
# Quit
|
# Quit
|
||||||
Type "q"
|
Type "q"
|
||||||
Sleep 1s
|
Sleep 1s
|
||||||
|
|
||||||
|
# Cleanup test repo
|
||||||
|
Type "rm -rf /tmp/lazygitclj-e2e-commit"
|
||||||
|
Enter
|
||||||
|
Sleep 500ms
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ Set Height 600
|
|||||||
Set Framerate 10
|
Set Framerate 10
|
||||||
|
|
||||||
# Setup test repo and run lazygitclj
|
# Setup test repo and run lazygitclj
|
||||||
Type "./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"
|
Type "cd /home/ajet/repos/lazygitclj && bb e2e:setup /tmp/lazygitclj-e2e-commits-tabs && cd /tmp/lazygitclj-e2e-commits-tabs && bb --config /home/ajet/repos/lazygitclj/bb.edn start"
|
||||||
Enter
|
Enter
|
||||||
Sleep 2s
|
Sleep 2s
|
||||||
|
|
||||||
@@ -44,3 +44,8 @@ Sleep 500ms
|
|||||||
# Quit
|
# Quit
|
||||||
Type "q"
|
Type "q"
|
||||||
Sleep 1s
|
Sleep 1s
|
||||||
|
|
||||||
|
# Cleanup test repo
|
||||||
|
Type "rm -rf /tmp/lazygitclj-e2e-commits-tabs"
|
||||||
|
Enter
|
||||||
|
Sleep 500ms
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ Set Height 600
|
|||||||
Set Framerate 10
|
Set Framerate 10
|
||||||
|
|
||||||
# Setup test repo with many files
|
# 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"
|
Type "cd /home/ajet/repos/lazygitclj && bb e2e:setup-cursor && cd /tmp/lazygitclj-e2e-cursor && bb --config /home/ajet/repos/lazygitclj/bb.edn start"
|
||||||
Enter
|
Enter
|
||||||
Sleep 3s
|
Sleep 3s
|
||||||
|
|
||||||
@@ -50,3 +50,8 @@ Sleep 500ms
|
|||||||
# Quit
|
# Quit
|
||||||
Type "q"
|
Type "q"
|
||||||
Sleep 1s
|
Sleep 1s
|
||||||
|
|
||||||
|
# Cleanup test repo
|
||||||
|
Type "rm -rf /tmp/lazygitclj-e2e-cursor"
|
||||||
|
Enter
|
||||||
|
Sleep 500ms
|
||||||
|
|||||||
@@ -1,31 +0,0 @@
|
|||||||
# VHS debug test - check git status and lazygitclj display
|
|
||||||
|
|
||||||
Output test/e2e/output/debug.gif
|
|
||||||
Output test/e2e/output/debug.ascii
|
|
||||||
|
|
||||||
Require bb
|
|
||||||
|
|
||||||
Set Shell "bash"
|
|
||||||
Set FontSize 14
|
|
||||||
Set Width 1000
|
|
||||||
Set Height 600
|
|
||||||
Set Framerate 10
|
|
||||||
|
|
||||||
# Setup test repo
|
|
||||||
Type "./test/e2e/setup-test-repo.sh /tmp/lazygitclj-debug"
|
|
||||||
Enter
|
|
||||||
Sleep 2s
|
|
||||||
|
|
||||||
# Show git status
|
|
||||||
Type "cd /tmp/lazygitclj-debug && git status --porcelain"
|
|
||||||
Enter
|
|
||||||
Sleep 1s
|
|
||||||
|
|
||||||
# Run lazygitclj
|
|
||||||
Type "bb --config /home/ajet/repos/lazygitclj/bb.edn start"
|
|
||||||
Enter
|
|
||||||
Sleep 2s
|
|
||||||
|
|
||||||
# Quit
|
|
||||||
Type "q"
|
|
||||||
Sleep 1s
|
|
||||||
@@ -13,7 +13,7 @@ Set Height 600
|
|||||||
Set Framerate 10
|
Set Framerate 10
|
||||||
|
|
||||||
# Setup test repo and run lazygitclj
|
# Setup test repo and run lazygitclj
|
||||||
Type "./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-help && cd /tmp/lazygitclj-e2e-help && bb --config /home/ajet/repos/lazygitclj/bb.edn start"
|
Type "cd /home/ajet/repos/lazygitclj && bb e2e:setup /tmp/lazygitclj-e2e-help && cd /tmp/lazygitclj-e2e-help && bb --config /home/ajet/repos/lazygitclj/bb.edn start"
|
||||||
Enter
|
Enter
|
||||||
Sleep 2s
|
Sleep 2s
|
||||||
|
|
||||||
@@ -36,3 +36,8 @@ Sleep 1s
|
|||||||
# Quit the app
|
# Quit the app
|
||||||
Type "q"
|
Type "q"
|
||||||
Sleep 1s
|
Sleep 1s
|
||||||
|
|
||||||
|
# Cleanup test repo
|
||||||
|
Type "rm -rf /tmp/lazygitclj-e2e-help"
|
||||||
|
Enter
|
||||||
|
Sleep 500ms
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ Set Height 600
|
|||||||
Set Framerate 10
|
Set Framerate 10
|
||||||
|
|
||||||
# Setup test repo and run lazygitclj
|
# Setup test repo and run lazygitclj
|
||||||
Type "./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-nav && cd /tmp/lazygitclj-e2e-nav && bb --config /home/ajet/repos/lazygitclj/bb.edn start"
|
Type "cd /home/ajet/repos/lazygitclj && bb e2e:setup /tmp/lazygitclj-e2e-nav && cd /tmp/lazygitclj-e2e-nav && bb --config /home/ajet/repos/lazygitclj/bb.edn start"
|
||||||
Enter
|
Enter
|
||||||
Sleep 2s
|
Sleep 2s
|
||||||
|
|
||||||
@@ -77,3 +77,8 @@ Sleep 300ms
|
|||||||
# Quit with q
|
# Quit with q
|
||||||
Type "q"
|
Type "q"
|
||||||
Sleep 1s
|
Sleep 1s
|
||||||
|
|
||||||
|
# Cleanup test repo
|
||||||
|
Type "rm -rf /tmp/lazygitclj-e2e-nav"
|
||||||
|
Enter
|
||||||
|
Sleep 500ms
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 190 KiB |
@@ -1,696 +0,0 @@
|
|||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
> 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!
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
|
Before Width: | Height: | Size: 90 KiB |
|
Before Width: | Height: | Size: 353 KiB |
@@ -1,906 +0,0 @@
|
|||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
> ./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
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
|
Before Width: | Height: | Size: 69 KiB |
@@ -1,816 +0,0 @@
|
|||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
> ./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!
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
|
Before Width: | Height: | Size: 186 KiB |
@@ -1,636 +0,0 @@
|
|||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
> ./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!
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
|
Before Width: | Height: | Size: 161 KiB |
@@ -1,696 +0,0 @@
|
|||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
> ./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!
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
|
Before Width: | Height: | Size: 271 KiB |
|
Before Width: | Height: | Size: 520 KiB |
|
Before Width: | Height: | Size: 116 KiB |
|
Before Width: | Height: | Size: 131 KiB |
|
Before Width: | Height: | Size: 105 KiB |
|
Before Width: | Height: | Size: 116 KiB |
|
Before Width: | Height: | Size: 113 KiB |
|
Before Width: | Height: | Size: 138 KiB |
|
Before Width: | Height: | Size: 138 KiB |
|
Before Width: | Height: | Size: 120 KiB |
|
Before Width: | Height: | Size: 101 KiB |
|
Before Width: | Height: | Size: 94 KiB |
|
Before Width: | Height: | Size: 95 KiB |
|
Before Width: | Height: | Size: 105 KiB |
|
Before Width: | Height: | Size: 683 KiB |
|
Before Width: | Height: | Size: 139 KiB |
|
Before Width: | Height: | Size: 83 KiB |
|
Before Width: | Height: | Size: 142 KiB |
|
Before Width: | Height: | Size: 141 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 94 KiB |
|
Before Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 94 KiB |
|
Before Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 9.1 KiB |
|
Before Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 55 KiB |
@@ -1,943 +0,0 @@
|
|||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
> ./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!
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
|
Before Width: | Height: | Size: 315 KiB |
@@ -1,696 +0,0 @@
|
|||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
> ./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!
|
|
||||||
>
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
|
Before Width: | Height: | Size: 253 KiB |
@@ -1,527 +0,0 @@
|
|||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
> ./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
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
|
Before Width: | Height: | Size: 152 KiB |
@@ -1,696 +0,0 @@
|
|||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
> ./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!
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
|
Before Width: | Height: | Size: 308 KiB |
@@ -1,531 +0,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
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
> ./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
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
|
Before Width: | Height: | Size: 163 KiB |
|
Before Width: | Height: | Size: 212 KiB |
@@ -1,876 +0,0 @@
|
|||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
> ./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!
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
|
Before Width: | Height: | Size: 275 KiB |
@@ -1,816 +0,0 @@
|
|||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
> ./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!
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
|
Before Width: | Height: | Size: 235 KiB |
@@ -1,756 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
> ./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!
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
|
Before Width: | Height: | Size: 273 KiB |
@@ -1,996 +0,0 @@
|
|||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
> ./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!
|
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
|
||||||
|
Before Width: | Height: | Size: 208 KiB |
|
Before Width: | Height: | Size: 170 KiB |
|
Before Width: | Height: | Size: 206 KiB |
@@ -13,7 +13,7 @@ Set Height 600
|
|||||||
Set Framerate 10
|
Set Framerate 10
|
||||||
|
|
||||||
# Setup test repo with changes and run lazygitclj
|
# Setup test repo with changes and run lazygitclj
|
||||||
Type "./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-reset && cd /tmp/lazygitclj-e2e-reset && bb --config /home/ajet/repos/lazygitclj/bb.edn start"
|
Type "cd /home/ajet/repos/lazygitclj && bb e2e:setup /tmp/lazygitclj-e2e-reset && cd /tmp/lazygitclj-e2e-reset && bb --config /home/ajet/repos/lazygitclj/bb.edn start"
|
||||||
Enter
|
Enter
|
||||||
Sleep 2s
|
Sleep 2s
|
||||||
|
|
||||||
@@ -55,3 +55,8 @@ Sleep 1s
|
|||||||
# Quit
|
# Quit
|
||||||
Type "q"
|
Type "q"
|
||||||
Sleep 1s
|
Sleep 1s
|
||||||
|
|
||||||
|
# Cleanup test repo
|
||||||
|
Type "rm -rf /tmp/lazygitclj-e2e-reset"
|
||||||
|
Enter
|
||||||
|
Sleep 500ms
|
||||||
|
|||||||
@@ -1,54 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
# Run all VHS e2e tests
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
||||||
cd "$SCRIPT_DIR"
|
|
||||||
|
|
||||||
echo "Running lazygitclj VHS e2e tests..."
|
|
||||||
echo "================================="
|
|
||||||
|
|
||||||
# List of test tapes
|
|
||||||
TESTS=(
|
|
||||||
"debug.tape"
|
|
||||||
"navigation.tape"
|
|
||||||
"staging.tape"
|
|
||||||
"commit.tape"
|
|
||||||
"commit-verify.tape"
|
|
||||||
"branches.tape"
|
|
||||||
"branch-operations.tape"
|
|
||||||
"stash-operations.tape"
|
|
||||||
"stash-menu.tape"
|
|
||||||
"help-panel.tape"
|
|
||||||
"reset-menu.tape"
|
|
||||||
"commits-tabs.tape"
|
|
||||||
"branches-tabs.tape"
|
|
||||||
"undo-redo.tape"
|
|
||||||
)
|
|
||||||
|
|
||||||
PASSED=0
|
|
||||||
FAILED=0
|
|
||||||
|
|
||||||
for tape in "${TESTS[@]}"; do
|
|
||||||
echo ""
|
|
||||||
echo "Running: $tape"
|
|
||||||
echo "---"
|
|
||||||
|
|
||||||
if timeout 60 vhs "$tape" 2>&1; then
|
|
||||||
echo "PASSED: $tape"
|
|
||||||
((PASSED++))
|
|
||||||
else
|
|
||||||
echo "FAILED: $tape"
|
|
||||||
((FAILED++))
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
echo ""
|
|
||||||
echo "================================="
|
|
||||||
echo "Results: $PASSED passed, $FAILED failed"
|
|
||||||
echo "================================="
|
|
||||||
|
|
||||||
if [ $FAILED -gt 0 ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
# Setup a test git repository for e2e tests
|
|
||||||
# Usage: ./setup-test-repo.sh /tmp/test-repo
|
|
||||||
|
|
||||||
REPO_DIR="${1:-/tmp/lazygitclj-e2e-test}"
|
|
||||||
|
|
||||||
# Remove existing repo if present
|
|
||||||
rm -rf "$REPO_DIR"
|
|
||||||
|
|
||||||
# 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
|
|
||||||
echo "# Test Project" > README.md
|
|
||||||
echo "line1" > file1.txt
|
|
||||||
echo "line2" > file2.txt
|
|
||||||
git add .
|
|
||||||
git commit -m "Initial commit"
|
|
||||||
|
|
||||||
# Create feature branch with changes
|
|
||||||
git checkout -b feature-branch
|
|
||||||
echo "feature content" > feature.txt
|
|
||||||
git add .
|
|
||||||
git commit -m "Add feature"
|
|
||||||
|
|
||||||
# Go back to main and make some uncommitted changes
|
|
||||||
git checkout main
|
|
||||||
echo "modified" >> file1.txt
|
|
||||||
echo "new file" > new-file.txt
|
|
||||||
|
|
||||||
echo "Test repo created at $REPO_DIR"
|
|
||||||