--soft 表示保留当前commit,重新commit --hard 表示丢弃当前add,重新add、commit 相关文章: 2022-12-23 2022-12-23 2021-07-16 2022-12-23 2021-05-25 2021-09-04 2022-12-23