I selected few features in the vector layer and updated the field. But I want to rollback the changes committed to the vector layer. How can I do that in QGIS?

I have used the following coed:


But it is of no use. How can I rollback the committed changes in the vector layer in QGIS?

  • "Commit" means just that. The way to a point in time before commit involves a restore from a previous backup. – Vince May 23 '16 at 11:01
  • Are you using Vector layer from raw .shp file or any database..please specify. – Sandipan Saha May 23 '16 at 12:26
  • Have you seen this post, gis.stackexchange.com/questions/35653/… – artwork21 May 24 '16 at 12:15

You could try using one of those interface rollback actions:


First is for current layer and second is for all layers.

However, those rollback actions only work with undo from QGIS. If you commit changes you cannot rollback.

  • 1
    those rollback actions works with undo from Qgis. If you commit changes you cannot rollback. – Marian Tudorache Jun 26 '17 at 17:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.