carpentries-incubator / carpentries-incubator/collaborative-git-and-github-lesson

Lesson 5: status hint now uses `restore` instead of `checkout`

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
R
Stars
0
Forks
3
PR merge metrics
No merged PRs in 30d

Description

In lesson 5, the box "Simplifying the Common Case" refers to the output of `git status`:

> (use "git checkout -- ..." to discard changes in working directory)

However, the output in recent Git versions is:

> (use "git restore ..." to discard changes in working directory)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.