git add and reverse operation (operation of temporary storage area)

 

                                                                                                     git add ./xx // Add to temporary storage area

                                                                                                     git add -A ./xxx

                                                                                                     git rm xxx

                                                                                                     git reset HEAD undo all

Guess you like

Origin www.cnblogs.com/nowroot/p/12693850.html