Lesson
https://nus-cs2103-ay2526s1.github.io/website/book/gitAndGithub/log/
Hands-on setup
Responses to provide when running new.sh:
Hands-on name: hp-list-commits
Requires Git? (defaults to y) [y/N]: y
Requires Github? (defaults to y) [y/N]: N
Equivalent bash commands for creating the sandbox:
mkdir things
cd things
git init --initial-branch=main
echo -e "apples\nbananas\ncherries\ndragon fruits" >> fruits.txt
git add fruits.txt
git commit -m "Add fruits.txt"
Instructions for students
You may continue with the sandbox used in the previous practical, or run gitmastery download hp-list-commits to create a fresh sandbox for this practical.
Requires remote repository?
No
Additional remarks
N/A