<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/how-to-hide-generated-dart-files-in-github-prs-kv67cazla" -->

---
title: How to Hide Generated Dart Files in GitHub PRs | daily.dev
description: Learn how to hide generated Dart files in GitHub PRs by adding them to a .gitattributes file at the root of the project.
canonical: https://daily.dev/posts/how-to-hide-generated-dart-files-in-github-prs-kv67cazla
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How to Hide Generated Dart Files in GitHub PRs | daily.dev
og:description: Learn how to hide generated Dart files in GitHub PRs by adding them to a .gitattributes file at the root of the project.
og:url: https://daily.dev/posts/how-to-hide-generated-dart-files-in-github-prs-kv67cazla
og:image: https://api.daily.dev/og/posts/kv67CaZlA.png
og:image:alt: How to Hide Generated Dart Files in GitHub PRs
og:image:width: 1200
og:image:height: 630
og:locale: en
---

[Code with Andrea](https://daily.dev/sources/codewithandrea)

[Read post](https://api.daily.dev/r/kv67CaZlA)

# [How to Hide Generated Dart Files in GitHub PRs](https://api.daily.dev/r/kv67CaZlA "Go to post")

Learn how to hide generated Dart files in GitHub PRs by adding them to a .gitattributes file at the root of the project.

[#github](/tags/github "Check all #github posts")[#dart](/tags/dart "Check all #dart posts")

May 07, 2024•1m read time•From [codewithandrea.com](https://api.daily.dev/r/kv67CaZlA "codewithandrea.com")

[![Post cover image](https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7b8a27a2535fe6ef3b5e5bedf2fb48da?_a=AQAEuiZ)](https://api.daily.dev/r/kv67CaZlA "Go to post")

17 Impressions2 Upvotes

Comment

Bookmark

Copy

![Placeholder image for anonymous user](https://media.daily.dev/image/upload/s--qsFuKGv_--/t_logo,f_auto/public/noProfile)Share your thoughtsPost

[![Code with Andrea's image](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/f57ff93b416640bd8675ee26eef6d777)](https://daily.dev/sources/codewithandrea)

[Code with Andrea](https://daily.dev/sources/codewithandrea "https://daily.dev/sources/codewithandrea")

Code with Andrea offers insights, tutorials, and updates on iOS app development, Swift programming, ... Read more

313 Followers

•

1.2K Upvotes

#### Would you recommend this post?

Copy link

WhatsApp

Facebook

X

New Squad

Copy linkShare with your friends

2

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"How to Hide Generated Dart Files in GitHub PRs","url":"https://daily.dev/posts/how-to-hide-generated-dart-files-in-github-prs-kv67cazla","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/how-to-hide-generated-dart-files-in-github-prs-kv67cazla"},"datePublished":"2024-05-07T14:09:24.774Z","dateModified":"2024-05-09T08:29:02.242Z","description":"Learn how to hide generated Dart files in GitHub PRs by adding them to a .gitattributes file at the root of the project.","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7b8a27a2535fe6ef3b5e5bedf2fb48da?_a=AQAEuiZ","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7b8a27a2535fe6ef3b5e5bedf2fb48da?_a=AQAEuiZ","isAccessibleForFree":true,"articleSection":"Code with Andrea","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Code with Andrea","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/f57ff93b416640bd8675ee26eef6d777","url":"https://daily.dev/sources/codewithandrea"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/how-to-hide-generated-dart-files-in-github-prs-kv67cazla","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"github,dart","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Code with Andrea","item":"https://daily.dev/sources/codewithandrea"},{"@type":"ListItem","position":3,"name":"How to Hide Generated Dart Files in GitHub PRs"}]}
```

