Files
curriculum/1.solar-system/1.welcome/15.the-cloner/starter/starter.sh

16 lines
518 B
Bash

#!/bin/bash
# The Cloner — clone a remote and add a commit.
#
# When this script runs, a bare repository `remote.git` is in your
# working directory. Your script must:
#
# 1. Clone remote.git into a folder called `project`
# 2. Inside project/, set user.name and user.email
# 3. Create log-entry.txt containing exactly:
# Cadet log entry — checked in.
# 4. Stage and commit it with message: "add cadet log entry"
#
# Tools: git clone, cd, git config, echo, git add, git commit -m
# Your code here.