Skip to content

[Hands-On: remote-branch-pull] T8L2: Work with a branch that existed in the remote #187

@damithc

Description

@damithc

HP_ID: see issue subject

Lesson: https://git-mastery.github.io/lessons/remoteBranchPull

Hands-on setup

Hands-on name: {{ HP_ID }}
Requires Git? (defaults to y)  [y/N]: y
Requires Github? (defaults to y)  [y/N]: y
  1. Fork https://github.com/git-mastery/samplerepo-company to student's account as gitmastery-samplerepo-company (all branches should be copied)
  2. Clone the fork as samplerepo-company
  3. Tweak the repo, as follows:
git switch -c hiring
echo "Receptionist: Pam" >> employees.txt
git commit -am "Add Pam to employees.txt"
git push origin -u hiring

Instructions for students

Continue with the samplerepo-company from the previous hands-on practical, or run gitmastery download {{ HP_ID }} to create a fresh sandbox for this practical.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions