Improve Git tracking ignore rules

This patch brings several improvements to the Git ignore rules:

* Be more strict ignoring the special folders so that it won't match other things.
* Adds rules specific to `snapcraft cleanbuild`
* Cosmetic fixes

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
This commit is contained in:
林博仁(Buo-ren Lin) 2018-06-25 20:29:39 +08:00
parent b471a2660e
commit 891d324366

11
.gitignore vendored
View File

@ -1,8 +1,11 @@
#snapcraft specifics #snapcraft specifics
parts /parts/
stage /stage/
prime /prime/
*.snap *.snap
.snapcraft .snapcraft
__pycache__ __pycache__
*.pyc *.pyc
*_source.tar.bz2