-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgit.yaml
54 lines (46 loc) · 1.18 KB
/
git.yaml
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
name: git-demo
cli-name: git
description: demonstrates some uses of git
script:
- args:
- init
- .
output: |
Initialized empty Git repository in /Users/pwilliams/demo/.git/
dirs:
create: # you can also delete
- name: .git
files:
apply: # you can also delete
- name: git/never/does/this/readme.md
content: |
# Git wouldn't create this file in this dir...
- args:
- status
output: |
On branch main
No commits yet
Untracked files:
(use "git add <file>..." to include in what will be committed)
git/
nothing added to commit but untracked files present (use "git add" to track)
- args:
- add
- .
output: |
- args:
- status
output: |
On branch main
No commits yet
Changes to be committed:
(use "git rm --cached <file>..." to unstage)
new file: git/never/does/this/readme.md
- args:
- commit
- -m
- "wip"
output: |
[main (root-commit) 368bd7b] wip
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 git/never/does/this/readme.md