View RSS Feed

Recent Blogs Posts

  1. Svn revert

    by , 06-02-2011 at 07:16 PM (My Java Tips)
    You must have used SVN while working in a team on a Java project. In this post, Ill write about 'revert' command.

    Let me present a scenario. You made some changes in a class and now you realize that the changes are not required/not correct. You wish to discard your changes. You have to use svn revert to discard your changes.

    Java Code:
    $ svn revert foo.java
    Reverted foo.java
    Following switches are available:

    Java Code:
    --targets
    ...
    Tags: revert, svn Add / Edit Tags
    Categories
    Subversion