Skip to main content
Formatting.
Source Link
Peter Mortensen
  • 31.3k
  • 22
  • 109
  • 132

git reset HEAD filename.txtThis command will unstash your changes.:

git reset HEAD filename.txt

You can also use git add -p

git add -p 

to add parts of files.

git reset HEAD filename.txt will unstash your changes. You can also use git add -p to add parts of files.

This command will unstash your changes:

git reset HEAD filename.txt

You can also use

git add -p 

to add parts of files.

Source Link
Jacob Waller
  • 4.2k
  • 3
  • 27
  • 33

git reset HEAD filename.txt will unstash your changes. You can also use git add -p to add parts of files.