From b716c25e52c64c5d4c2192d3ca68154cd81eb3cf Mon Sep 17 00:00:00 2001 From: Benjamin Auder <benjamin.auder@somewhere> Date: Sat, 18 Mar 2017 02:32:22 +0100 Subject: [PATCH] better gitignore repartition and contents --- .gitignore | 27 ++++++++++++++++++++++++--- pkg/.gitignore | 4 ++++ pkg/src/.gitignore | 3 --- pkg/vignettes/.gitignore | 14 ++++++++++++++ 4 files changed, 42 insertions(+), 6 deletions(-) create mode 100644 pkg/.gitignore delete mode 100644 pkg/src/.gitignore create mode 100644 pkg/vignettes/.gitignore diff --git a/.gitignore b/.gitignore index 3c1a794..3a96875 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,27 @@ -# Ignore Rstudio project files +#files generated by initialize.sh +/.gitfat +/.gitattributes + +#ignore temporary files +*~ +*.swp + +#ignore R session files + RStudio files +.Rhistory +.RData *.Rproj* -.Rproj.user .Rprofile -.RData .Rbuildignore + +#ignore R CMD build/check genrated files +/*.Rcheck/ +/*.tar.gz + +#ignore object files and executables +*.o +*.so +*.exe + +#misc +Rprof.out +*.zip diff --git a/pkg/.gitignore b/pkg/.gitignore new file mode 100644 index 0000000..ddc8772 --- /dev/null +++ b/pkg/.gitignore @@ -0,0 +1,4 @@ +#ignore roxygen2 generated files +/NAMESPACE +/man/*.Rd +!/man/*-package.Rd diff --git a/pkg/src/.gitignore b/pkg/src/.gitignore deleted file mode 100644 index e61554f..0000000 --- a/pkg/src/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Ignore object files, library and test executables -*.o -*.so diff --git a/pkg/vignettes/.gitignore b/pkg/vignettes/.gitignore new file mode 100644 index 0000000..e6493d4 --- /dev/null +++ b/pkg/vignettes/.gitignore @@ -0,0 +1,14 @@ +#ignore jupyter generated file (ipynb, HTML) +*.html +*.ipynb + +#and various (pdf)LaTeX files, in case of +*.tex +*.pdf +*.aux +*.dvi +*.log +*.out +*.toc +*.synctex.gz +/figure/ -- 2.44.0