step 1: git reset head~ step 2: # make the changes as necessary step 3: git add . step 4: git commit -c orig_head
使用`git reset head~`重置版本,进行必要更改后,使用`git add .`添加更改,最后通过`git commit -c orig_head`提交。
step 1: git reset head~ step 2: # make the changes as necessary step 3: git add . step 4: git commit -c orig_head
使用`git reset head~`重置版本,进行必要更改后,使用`git add .`添加更改,最后通过`git commit -c orig_head`提交。