How to reject changes?
Is it possibility to reject changes which has been made for object? I couldn't find such function. If there are not, there should be such possibility.
If you haven’t commited your changes yet, then you can right-click on the object in the Object Explorer and select Other SQL Source Control Tasks > Undo. This will revert your change to your db so that you are back to the state you were in before you started making changes to the object.
If you actually want to get back to a previous version, then please vote/comment at https://redgate.uservoice.com/forums/39019-sql-source-control/suggestions/492431-get-specific-version-from-source-control-svn-upd.
-
One way to do this could be by reapplying the previous version of the db object. This is called "Update to revision" in SVN or "Get specific version" in TFS. If this is what you need, please vote/comment at http://redgate.uservoice.com/forums/39019-sql-source-control/suggestions/492431-get-specific-version-from-source-control-svn-upd.
-
patrick feenstra commented
Got the same question
it's only possible to commit a change to source control, but what if you want to reject a change of a user
so this is not committed yet and shouldn't, you want to reject the change and undue the change -
Do you mean if a user committed something that really shouldn't have been committed? You could get the previous version of the object out of source control and then re-commit it. This currently would need to be done in your source control system (SVN).