HP_ID: see issue subject
This hands-on does not exist in the lesson yet. It will be added later to cover the following concepts.
Hands-on setup
Hands-on name: {{ HP_ID }}
Requires Git? (defaults to y) [y/N]: y
Requires Github? (defaults to y) [y/N]: y
- Clone https://github.com/git-mastery/samplerepo-company-2 as
samplerepo-company
- Pull the
track-sales branch
- Delete the last two commit of that branch
- Nuke the reflog (
git reflog expire --expire=now --all -> git gc --prune=now) to remove evidence of step 3
Now, it should look like someone added two new commits to the remote track-sales branch after it was pulled last.
Instructions for students
Run gitmastery download {{ HP_ID }} to create a fresh sandbox for this practical.
HP_ID: see issue subject
Lesson: https://git-mastery.github.io/lessons/remoteBranchPull
This hands-on does not exist in the lesson yet. It will be added later to cover the following concepts.
Hands-on setup
samplerepo-companytrack-salesbranchgit reflog expire --expire=now --all->git gc --prune=now) to remove evidence of step 3Now, it should look like someone added two new commits to the remote
track-salesbranch after it was pulled last.Instructions for students
Run
gitmastery download {{ HP_ID }}to create a fresh sandbox for this practical.