seed: curriculum content
This commit is contained in:
15
1.solar-system/1.welcome/14.the-historian/starter/starter.sh
Normal file
15
1.solar-system/1.welcome/14.the-historian/starter/starter.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
# The Historian — read git history.
|
||||
#
|
||||
# When this script runs, the current Git repo already has 5 commits
|
||||
# from a prior mission. One of them mentions BREACH.
|
||||
#
|
||||
# Your script must produce two files:
|
||||
# - log.txt — `git log --oneline` output (one line per commit)
|
||||
# - breach-commit.txt — the short hash of the BREACH commit
|
||||
#
|
||||
# Hint: `git log --oneline | grep BREACH | awk '{print $1}'`
|
||||
# pipes the matching log line and prints the leftmost column (the
|
||||
# short hash).
|
||||
|
||||
# Your code here.
|
||||
Reference in New Issue
Block a user