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 Mari 11.02.2014 в 02:02
source

1 answer

10

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

answered by 11.02.2014 / 02:21
source