Skip to content

[Hands-On Discussion] T2L6/hp-ignore-file (Adding a file to the ignore list) #58

@damithc

Description

@damithc

Lesson

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

Hands-on setup

Responses to provide when running new.sh:

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

Equivalent bash commands for creating the sandbox:

mkdir stuff
cd stuff
git init --initial-branch=main
echo -e “good stuff” >> keep.txt
echo -e “temp stuff” >> temp.txt
echo -e “more temp stuff” >> file1.tmp
echo -e “even more temp stuff” >> file2.tmp

Instructions for students

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

Requires remote repository?

No

Additional remarks

N/A

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions