how to discard local change in Eclipse

Created by Wang, Jerry on Sep 25, 2015

requirement: I have done some local change on the file below and I would like to discard this change, which means it is expected to return to the content in last git commit. However there is no such option in Eclipse UI.
how to discard local change in Eclipse
you have to do it in Git command line:
how to discard local change in Eclipse
Then it works:
how to discard local change in Eclipse

要获取更多Jerry的原创文章,请关注公众号"汪子熙":
how to discard local change in Eclipse

上一篇:LeetCode Algorithm 剑指 Offer 06. 从尾到头打印链表


下一篇:set()中的remove和discard