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."

 

By Phil Steffek

Phil Steffek is a professional sumo wrestler who is hoping to represent the U.S. in the next Olympics. During the off season Phil is a Data Architect working on transactional databases, data warehouse implementations, and all aspects of business intelligence. Also, Phil is not really a sumo wrestler. You can get to know a bit more about my non-sumo doings by checking out my LinkedIn Page

Leave a comment

Your email address will not be published. Required fields are marked *