【发布时间】:2017-09-18 14:04:55
【问题描述】:
我有一个从 master 创建的功能分支 feature-1-branch。
很多时间过去了,我在feature-1-branch 上创建了很多提交。
现在我想恢复提交特定目录中的所有更改,比如说我在分支feature-1-branch 中所做的src/modules/feature-2 回到它们在master 中的状态。
我确定这在 git 中一定是可能的,只是不知道该怎么做!?
【问题讨论】:
标签: git git-revert