SQL Source Control will not show new objects on Commit tab
tomslickers
Posts: 40 Bronze 2
I have somehow gotten myself into the situation where I have new objects in SQL Server that we want to commit, but SQL Source Control will not show them on the Commit tab, rather they all appear as Drops on the Get latest tab. How can I fix this, and, in general, how does SQL Source Control decide which direction to use when differences exist? If it matters, we are using Git.
Tagged:
Best Answer
-
Tianjiao_Li Posts: 684 Rose Gold 5Hi @tomslickers
Can you try unlinking and relinking your database from the repository? It will refresh the working base folder and transient folder that SQL Source Control uses behind the scene. Here is how things works behind the scene: https://documentation.red-gate.com/soc6/reference-information/how-sql-source-control-works-behind-the-scenes
Answers
Product Manager
Redgate Software
We are using the shared model. The stored procedure was added by my colleague, it should shown as new added on commit tab,instead of shown as dropped on get latest tab.
The weird thing is, my colleague add about 10 stored procedures. But only one of them was sh
Product Manager
Redgate Software
So I almost don't need to use git pull feature.
Product Manager
Redgate Software
Yes, we modify the same database.
My procedures are always fine and my colleague's procedure mostly fine, sometimes it will show on get latest tab.
For example, my colleague add 10 procedures, 9 of them will shown on commit tab, but 1 of them was shown on get latest tab.
We are using the shared model. The stored procedure was added by my colleague, it should shown as new added on commit tab,instead of shown as dropped on get latest tab.
The weird thing is, my colleague add about 10 stored procedures. But only one of them was shown as dropped on get latest tab, the others are shown as new added on commit tab.
We are using the shared model. The stored procedure was added by my colleague, it should shown as new added on commit tab,instead of shown as dropped on get latest tab.
The weird thing is, my colleague add about 10 stored procedures. But only one of them was shown as dropped on get latest tab, the others are shown as new added on commit tab.