如何在Git中重做最近的本地提交?

问题描述 投票:-1回答:1

如何重做本地存储库中的那些提交?我在使用添加/删除文件命令后使用了我,但是没有用。

git rm classdirgit添加sourcedirgit commit-修改

任何人都知道任何技巧或窍门。真的很有帮助,谢谢

git version-control commit undo pre-commit
1个回答
0
投票
// Finally o got the solution please see attached link

How do I undo the most recent local commits in Git?

© www.soinside.com 2019 - 2024. All rights reserved.