Skip to content

[Hands-On Discussion] T1L5/hp-first-commit (Creating your first commit) #52

@damithc

Description

@damithc

Lesson

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

Hands-on setup

Responses to provide when running new.sh:

Hands-on name: hp-first-commit
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

Instructions for students

You may continue with the sandbox used in the previous practical, or run gitmastery download hp-first-commit to create a fresh sandbox for this practical.

Requires remote repository?

No

Additional remarks

N/A

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions