mirror of
https://github.com/martinvonz/jj.git
synced 2024-09-11 13:56:29 +03:00
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
@ -3,6 +3,7 @@ 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
|
||||
@ -13,6 +14,7 @@ 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 New Issue
Block a user