我的分支落后于 5 次提交。
muralish@vnc9[~/git/task](task-68↓3| ✓)$git status
# On branch task-68
# Your branch is behind 'origin/task-68' by 5 commits, and can be fast-forwarded.
#
nothing to commit, working directory clean
muralish@vnc9[~/git/task](desflow-68↓3| ✓)$
这些提交是 A-> B-> C -> D -> E。我怎样才能只获得与提交 C 相关的更改到工作目录。
它尝试了 git rebase -i 但根本不会列出该提交。它输出以下信息。
noop
# Rebase 484a22b..b7fa802 onto 484a22b
#
# Commands:
# p, pick = use commit
# r, reword = use commit, but edit the commit message
# e, edit = use commit, but stop f
任何帮助表示赞赏。