Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@fabien-joubert
Copy link
Contributor

@fabien-joubert fabien-joubert 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-joubert fabien-joubert 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