From 4a3b018d0d7dab7eb3c8c09f449f41fe9c326d8a Mon Sep 17 00:00:00 2001 From: Tomasz Tomalak Date: Wed, 19 Dec 2018 17:26:10 +0100 Subject: [PATCH] Fix .gitignore file to track proper files (#53) --- .gitignore | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index da0bf3e..8cf22ae 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,11 @@ +# Files without extension (Linux binary, for example) +* +!/**/ +!*.* +!Makefile +!LICENSE +!Dockerfile + # Binaries for programs and plugins *.exe *.exe~ @@ -18,9 +26,5 @@ # Log files *.log -# Files without extension (Linux binary, for example) -* -!Makefile -!Dockerfile # Golang vendor directory vendor/