I'm using TortoiseGit in Windows for my git projects.
I made a local commit on my project. And I want to undo it.
How to undo git commit with TortoiseGit? without discarding my changes
TortoiseGit -> Show Log -> Revert change by this commit
这将生成一个恢复提交的提交,因此您不会“丢失”您的更改。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.