{"id":927,"date":"2017-08-08T06:00:33","date_gmt":"2017-08-08T13:00:33","guid":{"rendered":"http:\/\/www.sqldbpros.com\/?p=927"},"modified":"2017-08-07T11:39:32","modified_gmt":"2017-08-07T18:39:32","slug":"tableau-git-ignore-default-directories-and-preference-files","status":"publish","type":"post","link":"http:\/\/sqldbpros.com\/wordpress\/2017\/08\/tableau-git-ignore-default-directories-and-preference-files\/","title":{"rendered":"Tableau + Git: Ignore default directories and preference files."},"content":{"rendered":"<p>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 <a href=\"http:\/\/www.sqldbpros.com\/2017\/05\/tableau-what-is-the-default-path-for-extracts\/\">Tableau default repository<\/a>) then you can set git to exclude those files and directories when it checks for modifications.<\/p>\n<p>In your git repository you should see a file called \".gitignore\" (yes it starts with a period). \u00a0If you don't see the file you can create it yourself.<\/p>\n<p>Within the file add the following rows.<\/p>\n<pre># Tableau Directories and preferences files --Steffek\r\nDatasources\/\r\nLogs\/\r\nShapes\/\r\nTabOnlineSyncClient\/\r\n*.tps<\/pre>\n<p>Save the file and voila! You are good to go!<\/p>\n<figure id=\"attachment_929\" aria-describedby=\"caption-attachment-929\" style=\"width: 1280px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-929\" src=\"http:\/\/www.sqldbpros.com\/wordpress\/wp-content\/uploads\/2017\/08\/Phils-iPhone-20160805-200.jpg\" alt=\"\" width=\"1280\" height=\"720\" srcset=\"http:\/\/sqldbpros.com\/wordpress\/wp-content\/uploads\/2017\/08\/Phils-iPhone-20160805-200.jpg 1280w, http:\/\/sqldbpros.com\/wordpress\/wp-content\/uploads\/2017\/08\/Phils-iPhone-20160805-200-300x169.jpg 300w, http:\/\/sqldbpros.com\/wordpress\/wp-content\/uploads\/2017\/08\/Phils-iPhone-20160805-200-768x432.jpg 768w, http:\/\/sqldbpros.com\/wordpress\/wp-content\/uploads\/2017\/08\/Phils-iPhone-20160805-200-1024x576.jpg 1024w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><figcaption id=\"caption-attachment-929\" class=\"wp-caption-text\">\"I love git. I love Tableau. I love ignoring files and directories, but I cannot ignore squirrels.\"<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[165,193],"tags":[166,194,5],"class_list":["post-927","post","type-post","status-publish","format-standard","hentry","category-git","category-tableau","tag-git","tag-tableau","tag-tips"],"_links":{"self":[{"href":"http:\/\/sqldbpros.com\/wordpress\/wp-json\/wp\/v2\/posts\/927","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/sqldbpros.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/sqldbpros.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/sqldbpros.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/sqldbpros.com\/wordpress\/wp-json\/wp\/v2\/comments?post=927"}],"version-history":[{"count":1,"href":"http:\/\/sqldbpros.com\/wordpress\/wp-json\/wp\/v2\/posts\/927\/revisions"}],"predecessor-version":[{"id":930,"href":"http:\/\/sqldbpros.com\/wordpress\/wp-json\/wp\/v2\/posts\/927\/revisions\/930"}],"wp:attachment":[{"href":"http:\/\/sqldbpros.com\/wordpress\/wp-json\/wp\/v2\/media?parent=927"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/sqldbpros.com\/wordpress\/wp-json\/wp\/v2\/categories?post=927"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/sqldbpros.com\/wordpress\/wp-json\/wp\/v2\/tags?post=927"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}