diff mbox

[i-g-t] gitignore: Add files starting with .

Message ID 20170210203717.10872-1-michel.thierry@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Michel Thierry Feb. 10, 2017, 8:37 p.m. UTC
I cant be the only one that have added .tags by mistake.

Cc: Marius Vlad <marius.c.vlad@intel.com>
Cc: Petri Latvala <petri.latvala@intel.com>
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

Comments

Joonas Lahtinen Feb. 15, 2017, 12:24 p.m. UTC | #1
On pe, 2017-02-10 at 12:37 -0800, Michel Thierry wrote:
> I cant be the only one that have added .tags by mistake.
> 
> Cc: Marius Vlad <marius.c.vlad@intel.com>
> Cc: Petri Latvala <petri.latvala@intel.com>
> Signed-off-by: Michel Thierry <michel.thierry@intel.com>

<SNIP>

> +++ b/.gitignore
> @@ -81,6 +81,7 @@ core
>  *.swo
>  *.swp
>  *.dirstamp
> +.*

You need to at least have "!.gitignore" to avoid ignoring further
changes :)

Regards, Joonas

>  cscope.*
>  TAGS
>  build-aux/
Michel Thierry Feb. 15, 2017, 6:23 p.m. UTC | #2
On 15/02/17 04:24, Joonas Lahtinen wrote:
> On pe, 2017-02-10 at 12:37 -0800, Michel Thierry wrote:
>> I cant be the only one that have added .tags by mistake.
>>
>> Cc: Marius Vlad <marius.c.vlad@intel.com>
>> Cc: Petri Latvala <petri.latvala@intel.com>
>> Signed-off-by: Michel Thierry <michel.thierry@intel.com>
>
> <SNIP>
>
>> +++ b/.gitignore
>> @@ -81,6 +81,7 @@ core
>>  *.swo
>>  *.swp
>>  *.dirstamp
>> +.*
>
> You need to at least have "!.gitignore" to avoid ignoring further
> changes :)
>

My plan was to prevent further changes (not).
diff mbox

Patch

diff --git a/.gitignore b/.gitignore
index 6204965a..e1457bf6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -81,6 +81,7 @@  core
 *.swo
 *.swp
 *.dirstamp
+.*
 cscope.*
 TAGS
 build-aux/