Skip to content

[Exercise Discussion] clone-repo #23

@woojiahao

Description

@woojiahao

Existing exercise check

Lesson

T3L2: https://nus-cs2103-ay2526s1.github.io/website/book/gitAndGithub/clone/index.html

Exercise learning outcomes

Able to clone a remote repo. Able to control the repo folder name.

Exercise setup

name: clone-repo
tags: git-clone

No setup required on the student's computer.

Instructions for students

  1. Fork the repo https://github.com/git-mastery/gm-shapes to your GitHub account, if you haven't done so already. Retain the original repo name gm-shapes.
  2. Clone the fork to your computer, in to the folder clone-repo/shapes (note how the target folder is shapes, not gm-shapes).
  3. Set up a remote named upstream, to point to the git-mastery/gm-shapes repo.

Exercise grading

Verify that,

  1. the clone exists, in the correct folder
  2. origin and upstream are set correctly

Requires remote repository?

  • This exercise will likely require a remote repository

Additional remarks

Required remote repository: https://github.com/git-mastery/gm-shapes

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions