Skip to content

Commit c472023

Browse files
committed
hp-stage-modified: Add missing step in setup
1 parent d3b4ac5 commit c472023

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hands_on/stage_modified.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,6 @@ def download(verbose: bool):
3030
run_command(["git", "init", "--initial-branch=main"], verbose)
3131
with open("fruits.txt", "w") as f:
3232
f.write("apples\nbananas\ncherries\n")
33-
run_command(["git", "add", "fruits.txt"], verbose)
33+
run_command(["git", "add", "fruits.txt"], verbose)
34+
with open("fruits.txt", "a") as f:
35+
f.write("dragon fruits\n")

0 commit comments

Comments
 (0)