对同一功能的重复提交请使用 ‐ ‐ a m e n d , 注意不要 amend 已经 推送过的 commits 删除、重命名,请使用 g i t m v , g i t r m # ‐ ‐ u p d a t e , A d d t r a c k e d f i l e s o n l y . g i t a d d ‐ u # ‐ ‐ a l l , A d d a l l o f t h e f i l e s : a d d s , m o d i f i e d s , a n d r e m o v e s . g i t a d d ‐ A # C h a n g e t h e l a s t c o m m i t , p r e v e n t d u p l i c a t f e a t u r e d c o m m i t s . g i t c o m m i t ‐ ‐ a m e n d # C o m m i t a l l t r a c k e d c h a n g e s = > g i t a d d ‐ u & & g i t c o m m i t ‐ m " x x x " g i t c o m m i t ‐ a m " < C O M M I T _ M S G > " # c a c h e s t a s h g i t s t a s h [ c l e a r | p o p ] analysys.cn 6