I'm being in a transition from SVN to GIT and got a question for which I cannot find an answer. I'll describe am usual scenario when I work with some open source projects via SVN.
- make a checkout
- start messing around with files, make changes, to test how the project works.
- after p.2 some files are heavily modified and I have no chance to get back to original state.
- I delete the modified files from disk "rm filename.cpp", run the command "svn update" and voila, all original files are back.
All this works fine with GIT as well, except p.4. I try to make "git pull" it says that project is up to date and I don't get the original files even though they are missing from local folder.
What is the correct command for p.4 when working with git. Thx