How can I move my SQL Source Control link to a different Git repository?
Tim86
Posts: 6 New member
I need to use a different Git repository for a database than what I started with. I know I can just unlink and relink to the new repository, but I don't want to lose the change history. How can I move it without losing the change history?
Answers
I've never done it before, but imagine starting somewhere like this would be your best bet:
https://gbayer.com/development/moving-files-from-one-git-repository-to-another-preserving-history/
DevOps Mentor and Coach
Director of DLM Consultants
Creator of Speaking Mentors
Microsoft Data Platform MVP
Friend of Redgate
Twitter / LinkedIn
SQL Source Control doesn't save the history of commits anywhere, it actually just pulls the history from your GIT repository.
So if you preserve the history in GIT (the article Alex shared looks quite hopeful), then SQL Source Control will be able to show the previous history as well.
Jessica Ramos | Product Support Engineer | Redgate Software
Have you visited our Help Center?
DevOps Mentor and Coach
Director of DLM Consultants
Creator of Speaking Mentors
Microsoft Data Platform MVP
Friend of Redgate
Twitter / LinkedIn