From e9e1451f3c35fce7658639d8cb23e35733e48d5a Mon Sep 17 00:00:00 2001
From: Arthur Sonzogni <sonzogniarthur@gmail.com>
Date: Sat, 24 Jun 2023 17:52:44 +0200
Subject: [PATCH] Fix the .gitignore file. (#688)

---
 .gitignore | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.gitignore b/.gitignore
index 20475901..0829625d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,7 @@
 # Ignore all the files, except the ones we expect.
+# See https://jasonstitt.com/gitignore-whitelisting-patterns
 *
+!*/
 
 # Allowed top-level files:
 !.clang-format
@@ -42,13 +44,16 @@
 !examples/**/*.html.disabled
 
 # include directory:
+!include/ftxui/
 !include/ftxui/**/*.hpp
 !include/ftxui/**/*.cpp
 
 # src directory:
+!src/
 !src/ftxui/**/*.hpp
 !src/ftxui/**/*.cpp
 
 # tools directory:
+!tools/
 !tools/**/*.sh
 !tools/**/*.cpp
-- 
GitLab