Files
curriculum/1.solar-system/1.welcome/12.the-initiator/starter/starter.sh

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.