title: Using svn diff command
body: <p>Since I'm a newbie to SVN, my question is a bit simple but before asking here, I did look at the official tutorial but the explanation in there did not give me any clue. So I hope I can find someone to simply them for me. Thanks in advance!</p>
  
  <p>Here is my question: how do I use <code>svn diff</code> to see differences between a file in my repository and the file that I am currently working on? I mean, the file which is changed after the checkout but has not been added and committed yet.</p>
  
  <p>I've found the commands:</p>
  
  <pre><code>diff [-c M | -r N[:M]] [TARGET[@REV]...]
  
  diff [-r N[:M]] --old=OLD-TGT[@OLDREV] [--new=NEW-TGT[@NEWREV]] [PATH...]
  
  diff OLD-URL[@OLDREV] NEW-URL[@NEWREV]
  </code></pre>
  
  <p>but I don't understand what <code>target[@rev], [--new=NEW-TGT[@NEWREV]] [PATH...]</code> etc. means.</p>
  
  <p>Assume I checked out the file to <code>/home/svn/myproject/test.c</code> and made some changes on it .Now I want to check the one which is on repository and this one. How do I do that? Thanks in advance!</p>