How to remove a file from the staging area in git?

6

I accidentally added all the files in the git staging area with the "git add." command, how do I remove a file from the staging area so it will not be commited?

    
asked by anonymous 11.02.2014 / 02:02

1 answer

10

As mentioned in the message of git status ( use "git reset HEAD

11.02.2014 / 02:21