Tableau + Git: Ignore default directories and preference files.


Here’s a quick little item you might find handy. If you find it annoying that git keeps showing some of your default Tableau directories and files (which would probably only happen if you change your Tableau default repository) then you can set git to exclude those files and directories when it checks for modifications.

In your git repository you should see a file called “.gitignore” (yes it starts with a period).  If you don’t see the file you can create it yourself.

Within the file add the following rows.

# Tableau Directories and preferences files --Steffek
Datasources/
Logs/
Shapes/
TabOnlineSyncClient/
*.tps

Save the file and voila! You are good to go!

“I love git. I love Tableau. I love ignoring files and directories, but I cannot ignore squirrels.”

 

,

Leave a Reply

Your email address will not be published.