Thread: Add .DS_Store to .gitignore

Add .DS_Store to .gitignore

From
Dianjin Wang
Date:
Hi,

Here is a patch to add the `.DS_Store` to the .gitignore to ignore the
`.DS_Store` file tracking by git when doing some development work in
the macOS terminal. It helps me and my community (Apache Cloudberry) a
lot. I hope this small patch can help you, too.

This is my first time sending the patch to PostgreSQL. If anything
needs to be improved, please let me know. Thanks!

Best,
Dianjin Wang

Attachment

Re: Add .DS_Store to .gitignore

From
David Rowley
Date:
On Thu, 10 Apr 2025 at 18:05, Dianjin Wang <wangdianjin@gmail.com> wrote:
> Here is a patch to add the `.DS_Store` to the .gitignore to ignore the
> `.DS_Store` file tracking by git when doing some development work in
> the macOS terminal. It helps me and my community (Apache Cloudberry) a
> lot. I hope this small patch can help you, too.

There's a recommendation about what you could do about that in [1].

David

[1] https://www.postgresql.org/message-id/ead644ee-9352-4112-8552-8012d6396ebc%40eisentraut.org



Re: Add .DS_Store to .gitignore

From
Dianjin Wang
Date:
Hi David, thanks for the tip!

Best,
Dianjin Wang

On Thu, Apr 10, 2025 at 2:10 PM David Rowley <dgrowleyml@gmail.com> wrote:
>
> On Thu, 10 Apr 2025 at 18:05, Dianjin Wang <wangdianjin@gmail.com> wrote:
> > Here is a patch to add the `.DS_Store` to the .gitignore to ignore the
> > `.DS_Store` file tracking by git when doing some development work in
> > the macOS terminal. It helps me and my community (Apache Cloudberry) a
> > lot. I hope this small patch can help you, too.
>
> There's a recommendation about what you could do about that in [1].
>
> David
>
> [1] https://www.postgresql.org/message-id/ead644ee-9352-4112-8552-8012d6396ebc%40eisentraut.org