其他分享
首页 > 其他分享> > how to discard local change in Eclipse

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.

you have to do it in Git command line:

Then it works:

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

标签:汪子,Eclipse,Jerry,how,discard,local,change
来源: https://blog.csdn.net/i042416/article/details/98599278