How do you revert a git file to it's staging area version?
Posted
by Geo
on Stack Overflow
See other posts from Stack Overflow
or by Geo
Published on 2010-06-15T11:28:47Z
Indexed on
2010/06/15
11:32 UTC
Read the original article
Hit count: 153
git
Let's say I have a file named a.txt
. I add it to the staging area, and then I modify it. How could I return it to the way it was when I added it?
© Stack Overflow or respective owner