From 1ed743e4101b12c54ed05c53d5b58a6336cc1c24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E5=8D=9A=E4=BB=81=28Buo-Ren=20Lin=29?= Date: Thu, 29 Mar 2018 20:05:52 +0800 Subject: [PATCH] Add snapcraft generated files to the Git tracking ignore rules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patches uses the following gitignore syntax so that only entries in the root folder is ignored, it is suggested to apply it to existing rules as well. ``` A leading slash matches the beginning of the pathname. For example, "/*.c" matches "cat-file.c" but not "mozilla-sha1/sha1.c". ``` Refer-to: gitignore(5) manpage Signed-off-by: ๆž—ๅšไป(Buo-Ren Lin) --- .gitignore | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitignore b/.gitignore index bdba958..6d5f1ae 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,10 @@ cabal-dev cabal.sandbox.config cabal.config .stack-work + +### Snap ### +/snap/.snapcraft/ +/stage/ +/parts/ +/prime/ +*.snap