From 2ac96e7caa4258408278e1cc26f5367c0880d6e9 Mon Sep 17 00:00:00 2001 From: Tinh-Hai Collet Date: Fri, 15 May 2015 16:11:44 +0100 Subject: [PATCH 1/3] First .gitignore for Stata files --- Stata.gitignore | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Stata.gitignore diff --git a/Stata.gitignore b/Stata.gitignore new file mode 100644 index 00000000..26ea2e69 --- /dev/null +++ b/Stata.gitignore @@ -0,0 +1,19 @@ +# .gitignore file for git projects containing Stata files +# Commercial statistical software: http://www.stata.com + +# Stata dataset and output files +*.dta +*.gph +*.log +*.smcl +*.stpr +*.stsem + +# Graphic export files from Stata +*.ps +*.eps +*.wmf +*.emf +*.pdf +*.png +*.tif From d5a1f908a9d5d992efa3d1491b99b2ae171dc87b Mon Sep 17 00:00:00 2001 From: Tinh-Hai Collet Date: Mon, 18 May 2015 19:06:04 +0100 Subject: [PATCH 2/3] Move Stata.gitignore to Global/, as discussed with shiftkey --- Stata.gitignore => Global/Stata.gitignore | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Stata.gitignore => Global/Stata.gitignore (100%) diff --git a/Stata.gitignore b/Global/Stata.gitignore similarity index 100% rename from Stata.gitignore rename to Global/Stata.gitignore From aaef8dd60562b2d25cc9db3e7510e32a01c40580 Mon Sep 17 00:00:00 2001 From: Tinh-Hai Collet Date: Wed, 15 Jul 2015 08:20:21 +0100 Subject: [PATCH 3/3] Commented out the exclusion of image files, added a link to list the image file types --- Global/Stata.gitignore | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/Global/Stata.gitignore b/Global/Stata.gitignore index 26ea2e69..07997bb1 100644 --- a/Global/Stata.gitignore +++ b/Global/Stata.gitignore @@ -10,10 +10,15 @@ *.stsem # Graphic export files from Stata -*.ps -*.eps -*.wmf -*.emf -*.pdf -*.png -*.tif +# Stata command graph export: http://www.stata.com/manuals14/g-2graphexport.pdf +# +# You may add graphic export files to your .gitignore. However you should be +# aware that this will exclude all image files from this main directory +# and subdirectories. +# *.ps +# *.eps +# *.wmf +# *.emf +# *.pdf +# *.png +# *.tif