Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.2k views
in Technique[技术] by (71.8m points)

git revert回退版本后,一般怎么恢复回退?

场景:master 分支按顺序合并了feature1,fearure2的分支的功能;上线前,要求回退feature1的功能,在下次版本升级;版本管理员用git revert 回退了feature1的commitid;

问题:下次版本升级,一般通过什么操作让feature1的改动在master上生效?
目前我的操作是git revert先前revert提交的那个commitid。感觉这样怪怪的,请问大家对于这种场景的操作,有没有别的操作方式。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

就是这样用的 ??


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...