question

ButlerJonathan-2222 avatar image
0 Votes"
ButlerJonathan-2222 asked ButlerJonathan-2222 commented

Is there a standard/default SSDT GitIgnore file (Azure DevOps with Git)

Hi

I am testing out using SSDT on Visual Studio 2019 (Version 16.11.2), using Azure DevOps Git.

I am running into problems using the SSDT project and testing the fetch/pull/commit/push between different client computers (actually Win 10 20H1 VM's with VS 2019 installed - using MSDN).

I am getting breaking conflicts with files in the ./obj and ./bin folders....so my question is: Is there a standard or default gitignore file for VS 2019 SSDT projects so Git won't blow up over temporary files changing all the time between local client repos?

I was thinking of ignore both folders but don't know if that is OK....hence the thought that perhaps there should be a standard or default gitignore available for SSDT projects.

Thanks
Jonathan

sql-server-general
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

As an additional note, you can also create a default Gitignore file with Visual Studio settings baked in.

I found this when I created some test repositories (to play with pull/commit/push process) - I didn't create the original Repo.

Under the Git repo name should be the option to create a default gitignore file - in the drop down list choose Visual Studio.

132039-image.png


0 Votes 0 ·
image.png (13.8 KiB)
AmeliaGu-msft avatar image
0 Votes"
AmeliaGu-msft answered

Hi ButlerJonathan-2222,
Welcome to Microsoft Q&A.
Please also check: https://github.com/microsoft/sql-server-samples/blob/master/.gitignore

Best Regards,
Amelia


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

TomPhillips-1744 avatar image
0 Votes"
TomPhillips-1744 answered
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.