From: Andrew Dunstan <andrew@dunslane.net>
To: Peter Eisentraut <peter@eisentraut.org>
To: Yasir <yasir.hussain.shah@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Ignore Visual Studio's Temp Files While Working with PG on Windows
Date: Sat, 18 May 2024 10:24:04 -0400
Message-ID: <82c4389c-8e94-42af-bc9f-3b8d5f5d8d4e@dunslane.net> (raw)
In-Reply-To: <ead644ee-9352-4112-8552-8012d6396ebc@eisentraut.org>
References: <CAA9OW9eFAn8FdG=vRvKE2F4PqLiiLAyS0RCHS0-SPDnPDGX8OQ@mail.gmail.com>
<ead644ee-9352-4112-8552-8012d6396ebc@eisentraut.org>
On 2024-05-17 Fr 02:34, Peter Eisentraut wrote:
> On 17.05.24 08:09, Yasir wrote:
>> I have been playing with PG on the Windows platform recently. An
>> annoying thing I faced is that a lot of Visual Studio's temp files
>> kept appearing in git changed files. Therefore, I am submitting this
>> very trivial patch to ignore these temp files.
>
> Our general recommendation is that you put such things into your
> personal global git ignore file.
>
> For example, I have in ~/.gitconfig
>
> [core]
> excludesFile = ~/.gitexcludes
>
> and then in ~/.gitexcludes I have various ignores that are specific to
> my local tooling.
>
> That way we don't have to maintain ignore lists for all the tools in
> the world in the PostgreSQL source tree.
>
>
>
or if you want something repo-specific, you can add entries to
.git/info/exclude
cheers
andrew
--
Andrew Dunstan
EDB: https://www.enterprisedb.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: andrew@dunslane.net, peter@eisentraut.org, yasir.hussain.shah@gmail.com, pgsql-hackers@lists.postgresql.org
Subject: Re: Ignore Visual Studio's Temp Files While Working with PG on Windows
In-Reply-To: <82c4389c-8e94-42af-bc9f-3b8d5f5d8d4e@dunslane.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox