commit:     0cf0048ab00b50a3768dbbfcb8f7a96abe3512c9
Author:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 10 12:10:49 2018 +0000
Commit:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Fri Aug 10 12:10:49 2018 +0000
URL:        https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=0cf0048a

Modify .gitignore to create generated directory, but ignore files within.

 web/.gitignore           | 1 -
 web/generated/.gitignore | 3 +++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/web/.gitignore b/web/.gitignore
index 17434c6..e393f85 100644
--- a/web/.gitignore
+++ b/web/.gitignore
@@ -1,2 +1 @@
-generated/
 tarballs/

diff --git a/web/generated/.gitignore b/web/generated/.gitignore
new file mode 100644
index 0000000..94548af
--- /dev/null
+++ b/web/generated/.gitignore
@@ -0,0 +1,3 @@
+*
+*/
+!.gitignore

Reply via email to