0

How Can i redo reverts on Svn?

Yogibear
  • 153
  • 12
  • You cannot normally "undo" a commit in SVN, although you can "reverse" changes from a previous commit into a new commit. You can also easily see the history... that is just basic usage. – crashmstr Jul 30 '15 at 15:42
  • and can i redo if i reversed a commit? – Yogibear Jul 30 '15 at 15:45
  • I think if you want to "undo" something, you would not want to "redo" exactly the same thing, so instead you would code whatever changes you *actually* need as a new commit. – crashmstr Jul 30 '15 at 15:47
  • I just ask because for example someone reverts a a whole commit when he wants just to revert one folder of a commit but he is tired or etc. and makes the mistake... – Yogibear Jul 30 '15 at 15:50
  • I'm editing the question a bit – Yogibear Jul 30 '15 at 15:56
  • An `svn revert` cannot be undone unless you made a local copy of the changed files before you reverted. If you're trying to undo an operation that was committed to the repository, you'll need to be more clear with your question. – alroc Jul 30 '15 at 18:12
  • thanks for the answer – Yogibear Jul 30 '15 at 18:43
  • 1
    Yes, you can redo a previously reverted commit. See this answer: http://stackoverflow.com/questions/29495053/merge-back-what-once-was-reverted/29518273#29518273 – Michael Schlottke-Lakemper Aug 02 '15 at 05:49
  • Possible duplicate of [merge back what once was reverted](http://stackoverflow.com/questions/29495053/merge-back-what-once-was-reverted) – Paul Sweatte Apr 27 '17 at 17:04

0 Answers0