Resetting a specific file [message #759029] |
Fri, 25 November 2011 11:39  |
Eclipse User |
|
|
|
Hello,
I made some modifications on a file, but I don't want to commit them, and want to revert it to the version stored on the remote server (which may be newer that the file I originally got).
In Subversive, it was the "Override and update" command.
In EGit, I found the Reset command, but it seems to be applyable only to the full project.
What should I do ?
Thanks.
|
|
|
|
|
|
|
|
Re: Resetting a specific file [message #1721868 is a reply to message #759352] |
Mon, 01 February 2016 03:04  |
Eclipse User |
|
|
|
I trapped in similar question and feedl like beeing in yak hair studio.
I am in the sync view as i want to sync my local changes with remote master.
Then after some time i have the situation i wanna throw away my changes and leave the one on the master as it which conflits my changes, that means don't change it locally go back to last fetch from remote master.
I choose "overwrite".
The first thing which feels wrong is that i have to mark the file as "merged" to get away the "conflict state" . Why is that so .. ? Overwite is pretty clear what is says, so why acklowledge that again - useless.
The second thing which is much worse is that when i commit now the repo the "unchanged file" is listed in the commit view ..what the hell? I didnd't changed it and said use the one from remote master like last fetch. There is no need to commit the file with changes from other devs from master.
The plugin should here remote the change from index, shouldn't it?
|
|
|
Powered by
FUDForum. Page generated in 0.10290 seconds