1.0 KiB
1.0 KiB
type, title, xp, duration, difficulty
| type | title | xp | duration | difficulty |
|---|---|---|---|---|
| challenge | The Saver | 75 | 25 | 2 |
The Saver
[INCOMING — Mission Control, Earth]
Cadet, snapshots. Git's whole purpose is to capture commits — snapshots of your work — that you can return to later.
The flow per commit:
- Create or modify a file
git add <file>— stage itgit commit -m "<message>"— lock it inWhen your script runs, a clean Git repo with identity already set sits in the working directory. Make three commits, in this exact order:
- Create
a.txtwithalpha. Commit message:add alpha- Create
b.txtwithbeta. Commit message:add beta- Create
c.txtwithgamma. Commit message:add gamma[END TRANSMISSION]
Your Task
In starter/starter.sh, run six commands per the flow above (one
echo + add + commit per file).
Objectives
a.txt,b.txt,c.txtexist withalpha,beta,gammagit logshows exactly 3 commits- Commit messages:
add alpha,add beta,add gammain order