1.1 KiB
1.1 KiB
type, title, xp, duration, difficulty
| type | title | xp | duration | difficulty |
|---|---|---|---|---|
| challenge | The Cloner | 75 | 25 | 3 |
The Cloner
[INCOMING — Mission Control, Earth]
Cadet, real work doesn't start from scratch. You join an existing project — clone it, make changes, commit.
When your script runs,
remote.gitis a bare repository (think of it as a project living on a server) sitting in your working directory. Clone it into a folder calledproject:git clone remote.git projectThen inside it, set your identity (Git won't let you commit without one), create
log-entry.txtcontaining exactlyCadet log entry — checked in., and commit with messageadd cadet log entry.[END TRANSMISSION]
Your Task
In starter/starter.sh:
- Clone
remote.gitintoproject cd project- Set
user.nameanduser.email - Create
log-entry.txtwith the exact line above - Add and commit with the exact message
Objectives
project/.gitexistsproject/log-entry.txtmatches the exact contentproject/has at least 2 commits in its log