You can undo the changes introduced by a particular commit by pressing
RET on that commit moving to the file and then pressing v.

Magit does not support reverting everything that has happended to a file
after a certain commit (i.e. it might have changed in several commits).

To do that use:

    $ git show COMMIT:FILE > FILE
    $ git add FILE
    $ git commit -m "reset FILE to COMMIT"

> I want to revert a file to a specific commit and make a new commit out
> of this reverting. Is there a way?

-- 
You received this message because you are subscribed to the Google Groups 
"magit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to