RawSushi's Tech Journal
My online tech scrapbook where I keep my notes in case I need to look them up later
Friday, June 1, 2012
Git: Discarding Changes in Working Directory
To discard changes to files in the working directory and reverting back to the file that was committed:
git checkout -- <filename>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment