What's the difference between 'git rm --cached', 'git restore --staged', and 'git reset'

前端 未结 0 500
挽巷
挽巷 2020-12-24 13:17

In order to unstage the files that were staged by the command \'git add\', I have come across the following three ways.

git rm --cached 
git resto         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题