How to remove files from git staging area?

后端 未结 14 1280
失恋的感觉
失恋的感觉 2020-11-28 16:53

I made changes to some of my files in my local repo, and then I did git add -A which I think added too many files to the staging area. How can I delete all the

14条回答
  •  星月不相逢
    2020-11-28 17:53

    To remove all files from staging area use -
    git reset
    To remove specific file use -
    git reset "File path"

提交回复
热议问题