Skip to content

[Hands-On Discussion] T4L6/hp-revert-commit (Revert a commit) #109

@damithc

Description

@damithc

Lesson

https://nus-cs2103-ay2526s1.github.io/website/book/gitAndGithub/revert/

Hands-on setup

Responses to provide when running new.sh:

Hands-on name: hp-revert-commit
Requires Git? (defaults to y)  [y/N]: y
Requires Github? (defaults to y)  [y/N]: N

Repo folder name: pioneers

Equivalent bash commands for creating the sandbox:

echo "hacked the matrix" >> neo.txt
git add .
git commit -m "Add Neo"

echo "father of theoretical computing" >> alan-turing.txt
git add .
git commit -m "Add Turing"

echo "created COBOL, compiler pioneer" >> grace-hopper.txt
git add .
git commit -m "Add Hopper"

Instructions for students

Run gitmastery download hp-revert-commit to create a fresh sandbox.

Requires remote repository?

No

Additional remarks

N/A

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions