RawSushi's Tech Journal
My online tech scrapbook where I keep my notes in case I need to look them up later
Sunday, April 7, 2013
Git Undo Staging a File for Commit
If a file has already been staged for commit i.e. via the "git add" command, use the following command to unstage the file:
git reset HEAD <filename>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment