如何在git中撤消部分未暂存的更改,而将其余更改保留为未暂存?我想出来的方法是:# Choose the parts I want to deletegit stashgit rebase -i master # (I am an ancestor of master)gitstash apply
这是可
当我执行git rebase <base-commit>时,我看到目录.git/rebase-apply被创建,其中包含文件onto、orig-head和original-commit,分别引用了<base-commit当我执行git rebase -i <base-commit>时,我看到的目录是.git/rebase-merge,其中包含文件onto、orig-head和stopped-sha,其中stopped-sha我的问题是,为什么交互式和非<e