11.07.2015 Views

Version Control with Subversion - Login

Version Control with Subversion - Login

Version Control with Subversion - Login

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Subversion</strong> Complete ReferenceNamesvn revert — Undo all local edits.Synopsissvn revert PATH...DescriptionReverts any local changes to a file or directory and resolves any conflicted states. svn revertwill revert not only the contents of an item in your working copy, but also any propertychanges. Finally, you can use it to undo any scheduling operations that you may have performed(e.g., files scheduled for addition or deletion can be “unscheduled”).Alternate namesChangesNoneWorking copyAccesses repositoryOptionsNo--changelist ARG--depth ARG--quiet (-q)--recursive (-R)--targets FILENAMEExamplesDiscard changes to a file:$ svn revert foo.cReverted foo.cIf you want to revert a whole directory of files, use the --depth=infinity option:$ svn revert --depth=infinity .Reverted newdir/afileReverted foo.cReverted bar.txtLastly, you can undo any scheduling operations:$ svn add mistake.txt whoopsAmistake.txtAwhoopsAwhoops/oopsie.c282

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!