-
-
Notifications
You must be signed in to change notification settings - Fork 343
Expand file tree
/
Copy pathcommit.tape
More file actions
69 lines (54 loc) · 1.07 KB
/
Copy pathcommit.tape
File metadata and controls
69 lines (54 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Output cli_interactive/commit.gif
Source shared/base.tape
Source shared/git_init.tape
Type "git checkout -b awesome-feature"
Enter
Sleep 500ms
# Create a dummy file to commit
Type "echo 'test content' > example.py"
Enter
Sleep 300ms
Type "git add example.py"
Enter
Sleep 300ms
# Clear the screen to start fresh
Type "clear"
Enter
Sleep 500ms
# Show commands from here
Show
# Now run cz commit
Type "cz commit"
Sleep 500ms
Enter
# Q1: prefix -- select the type of change (move down to "feat")
Wait+Screen /Select the type of change/
Sleep 500ms
Down
Sleep 500ms
Enter
# Q2: scope (optional, skip)
Wait+Screen /What is the scope/
Sleep 500ms
Enter
# Q3: subject
Wait+Screen /imperative summary/
Sleep 500ms
Type "awesome new feature"
Sleep 500ms
Enter
# Q4: body (optional, skip)
Wait+Screen /additional contextual information/
Sleep 500ms
Enter
# Q5: is_breaking_change (No)
Wait+Screen /BREAKING CHANGE\?/
Sleep 500ms
Enter
# Q6: footer (optional, skip)
Wait+Screen /Footer\. Information/
Sleep 500ms
Enter
# Wait for commit success message
Sleep 2s
Source shared/cleanup.tape