📜  git split commit into two - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:48.451000             🧑  作者: Mango

代码示例1
git rebase -i 
# mark the targeted commit with 'edit'
git reset HEAD^
git add ...
git commit -m "First part"
git add ...
git commit -m "Second part"
git rebase --continue