seed: curriculum content
This commit is contained in:
14
1.solar-system/1.welcome/12.the-initiator/starter/starter.sh
Normal file
14
1.solar-system/1.welcome/12.the-initiator/starter/starter.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/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.
|
||||
Reference in New Issue
Block a user