Gentoo Archives: gentoo-dev

From: Matthew Smith <matt@×××××××××.uk>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [PATCH] profiles: remove default ALSA_CARDS setting from arch profiles
Date: Thu, 28 Oct 2021 10:38:39
Message-Id: 54296041-dbde-737f-c248-779c24913acf@offtopica.uk
In Reply to: Re: [gentoo-dev] Re: [PATCH] profiles: remove default ALSA_CARDS setting from arch profiles by "Hanno Böck"
1 Hi,
2
3 On 28/10/2021 08:55, Hanno Böck wrote:
4 > On Tue, 26 Oct 2021 14:41:01 -0400
5 > Mike Gilbert <floppym@g.o> wrote:
6 >
7 >> Oops, I accidentally committed my vim swap file. I have fixed this
8 >> locally.
9 >
10 > Should we add *.swp (and a few others like *~, *.bak, *.orig) to
11 > .gitignore to avoid this from happening again?
12
13 I think it's best if people put their editor's temporary/backup
14 files in their local gitignore, instead of trying to maintain a
15 giant per-repository ignore file that needs amending for every
16 user's favourite editor.
17
18 For example, in ~/.gitconfig:
19
20 [core]
21 excludesFile = ~/.gitignore
22
23 Then ~/.gitignore can contain:
24
25 *.swp
26 *.bak
27 *.orig
28
29 Thanks,
30 Matthew