Skip to content

docs: correct git reset --soft and --mixed descriptions#3

Open
varunvashisth-varizz wants to merge 1 commit into
atomic-loops:mainfrom
varunvashisth-varizz:docs/fix-reset-descriptions
Open

docs: correct git reset --soft and --mixed descriptions#3
varunvashisth-varizz wants to merge 1 commit into
atomic-loops:mainfrom
varunvashisth-varizz:docs/fix-reset-descriptions

Conversation

@varunvashisth-varizz

Copy link
Copy Markdown
Collaborator

Summary

Correct the descriptions for git reset --soft and git reset --mixed.

The previous comments were swapped:

  • --soft keeps changes staged.
  • --mixed (the default) keeps changes in the working directory but unstages them.

I verified the behavior by testing the commands locally.

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.

1 participant