mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-27 06:27:43 +00:00
73ce048256
This makes it slightly easier to take a screenshot without getting the cursor character from the shell input line just below.
18 lines
433 B
Bash
Executable file
18 lines
433 B
Bash
Executable file
#!/bin/bash
|
|
set -euo pipefail
|
|
. "$(dirname "$0")"/demo_helpers.sh
|
|
|
|
new_tmp_dir
|
|
|
|
comment "Clone a Git repo:"
|
|
run_command "jj git clone https://github.com/octocat/Hello-World"
|
|
run_command "cd Hello-World"
|
|
|
|
comment "Inspect it:"
|
|
run_command "jj log -r 'all()'"
|
|
run_command "jj diff -r b1"
|
|
|
|
comment "The repo is backed by the actual Git repo:"
|
|
run_command "git --git-dir=.jj/repo/store/git log --graph --all --decorate --oneline"
|
|
|
|
blank
|