forked from mirrors/jj
demos: redirect setup commands to /dev/null
Previously, we needed to remove this manually from screenshots.
This commit is contained in:
parent
438a4564b0
commit
68b8069c5e
4 changed files with 15 additions and 13 deletions
|
@ -3,16 +3,18 @@ set -euo pipefail
|
|||
. "$(dirname "$0")"/helpers.sh
|
||||
|
||||
new_tmp_dir
|
||||
jj init --config-toml ui.allow-init-native=true
|
||||
echo "first" > file
|
||||
jj branch create first
|
||||
jj commit -m 'first'
|
||||
echo "second" > file
|
||||
jj branch create second
|
||||
jj commit -m 'second'
|
||||
echo "third" > file
|
||||
jj branch create third
|
||||
jj commit -m 'third'
|
||||
(
|
||||
jj init --config-toml ui.allow-init-native=true
|
||||
echo "first" > file
|
||||
jj branch create first
|
||||
jj commit -m 'first'
|
||||
echo "second" > file
|
||||
jj branch create second
|
||||
jj commit -m 'second'
|
||||
echo "third" > file
|
||||
jj branch create third
|
||||
jj commit -m 'third'
|
||||
) >/dev/null
|
||||
|
||||
comment "We are in a repo with three commits, all
|
||||
editing the same line:"
|
||||
|
|
|
@ -3,7 +3,7 @@ set -euo pipefail
|
|||
. "$(dirname "$0")"/helpers.sh
|
||||
|
||||
new_tmp_dir
|
||||
jj git clone https://github.com/octocat/Hello-World
|
||||
jj git clone https://github.com/octocat/Hello-World > /dev/null
|
||||
cd Hello-World
|
||||
|
||||
comment "We are in the octocat/Hello-World repo.
|
||||
|
|
|
@ -3,7 +3,7 @@ set -euo pipefail
|
|||
. "$(dirname "$0")"/helpers.sh
|
||||
|
||||
new_tmp_dir
|
||||
jj git clone https://github.com/octocat/Hello-World
|
||||
jj git clone https://github.com/octocat/Hello-World > /dev/null
|
||||
cd Hello-World
|
||||
|
||||
comment "We are on the master branch of the
|
||||
|
|
|
@ -3,7 +3,7 @@ set -euo pipefail
|
|||
. "$(dirname "$0")"/helpers.sh
|
||||
|
||||
new_tmp_dir
|
||||
jj git clone https://github.com/octocat/Hello-World
|
||||
jj git clone https://github.com/octocat/Hello-World > /dev/null
|
||||
cd Hello-World
|
||||
|
||||
comment "We are in the octocat/Hello-World repo.
|
||||
|
|
Loading…
Reference in a new issue