mirror of
https://github.com/martinvonz/jj.git
synced 2024-09-11 13:56:29 +03:00
I find it frustrating to wait for the typing, but I need much more time to think between commands (and users who are new to the tool surely need even more time).
22 lines
487 B
Bash
Executable File
22 lines
487 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
. "$(dirname "$0")"/demo_helpers.sh
|
|
parse_args "$@"
|
|
|
|
new_tmp_dir
|
|
|
|
run_demo '
|
|
run_command "# Clone a Git repo:"
|
|
run_command "jj git clone https://github.com/octocat/Hello-World"
|
|
run_command "cd Hello-World"
|
|
sleep 1
|
|
run_command "# Inspect it:"
|
|
sleep 1
|
|
run_command "jj log"
|
|
sleep 5
|
|
run_command "jj diff -r b1"
|
|
sleep 2
|
|
run_command "# The repo is backed by the actual Git repo:"
|
|
run_command "git --git-dir=.jj/store/git log --graph --all --decorate --oneline"
|
|
'
|