revert

WPF Undo Redo Property System to highlight in red color if value has changed

I have a following requirement for a very complex UI. (Complex here means there are lot of controls in the form [approximately 100]). I am using MVVM (if my problem requires it to slightly go away from MVVM I am ok with it) My question is for Editable ComboBox and TextBox. But I would say I like to hear a common algorithm which will fit ...

Is there any way "svn unrevert"?

Ack! I just mistakenly ran "svn revert somefile" with the wrong filename pasted in. Now my nicely modified file is gone! I'd like a "svn unrevert" command. AFIK there's no such thing. What is the next best way out of this mess? ...

How to get back modified file after git checkout and git pull?

I've modified a file, then I want to get latest version from remote. So I run git checkout to revert the file, and run git pull to get latest version. After that, I found that I need the modification of the file. Is it possible to get it back? Thanks! ...