Skip to content

Conversation

Fabien-jrt
Copy link
Contributor

@Fabien-jrt Fabien-jrt commented Oct 2, 2020

Changes

  • Remove the --staged flag in the git restore warning

Context

It seems like the command that throwing away your local work is git restore <file> instead of git restore --staged <file>.

See #1533 to get more context.
Fixes #1533

@HonkingGoose
Copy link
Contributor

And you made your first pull request ever. 😄 👍 🎉

Nice job!

@ben
Copy link
Member

ben commented Oct 3, 2020

@ben ben merged commit 72eb8dc into progit:master Oct 3, 2020
@Fabien-jrt Fabien-jrt deleted the issue-1533 branch October 3, 2020 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mistake in the new "git restore" section?

3 participants