How can we help you today? How can we help you today?

Removing deleted objects from GIT (SQL Compare, SQL Source Control)

Hi all. I have a development database linked to GIT using SQL Source Control. For some reason I have 20 views in GIT that are not present in the linked development database. I can easily pinpoint the views using SQL Compare - but is there any way I can get the GIT repository updated to reflect the correct/current state of the database? 

SQL Compare generates a standard deploy script but I can't run that since SMSS can't connect to GIT. 

There are no branches in the GIT repository and the database has not been removed and reconnected to the repository. 

jensgc
0

Comments

1 comment

  • Sergio R
    Hi,

    Aren't you able to commit a DROP for those views in SQL Source Control?
    Sergio R
    0

Add comment

Please sign in to leave a comment.