[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] Re: [PATCH] profiles: remove default ALSA_CARDS setting from arch profiles
From:       Matthew Smith <matt () offtopica ! uk>
Date:       2021-10-28 10:38:32
Message-ID: 54296041-dbde-737f-c248-779c24913acf () offtopica ! uk
[Download RAW message or body]

Hi,

On 28/10/2021 08:55, Hanno Böck wrote:
 > On Tue, 26 Oct 2021 14:41:01 -0400
 > Mike Gilbert <floppym@gentoo.org> wrote:
 >
 >> Oops, I accidentally committed my vim swap file. I have fixed this
 >> locally.
 >
 > Should we add *.swp (and a few others like *~, *.bak, *.orig) to
 > .gitignore to avoid this from happening again?

I think it's best if people put their editor's temporary/backup
files in their local gitignore, instead of trying to maintain a
giant per-repository ignore file that needs amending for every
user's favourite editor.

For example, in ~/.gitconfig:

     [core]
     excludesFile = ~/.gitignore

Then ~/.gitignore can contain:

     *.swp
     *.bak
     *.orig

Thanks,
Matthew

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic