15 lines
427 B
Bash
15 lines
427 B
Bash
#!/bin/bash
|
|
# The Initiator — turn an empty directory into a Git repo.
|
|
#
|
|
# Your script must:
|
|
# 1. Initialize a Git repo (use main as the default branch)
|
|
# 2. Capture `git status` to status-before.txt
|
|
# 3. Create intro.md containing exactly "Hello, Git"
|
|
# 4. Capture `git status` to status-after.txt
|
|
#
|
|
# Notice how the second status sees intro.md as untracked.
|
|
#
|
|
# Tools: git init, git status, echo
|
|
|
|
# Your code here.
|