git_vaccinate: Vaccinate your global gitignore file

View source: R/git.R

git_vaccinateR Documentation

Vaccinate your global gitignore file


Adds .DS_Store, .Rproj.user, .Rdata, .Rhistory, and .httr-oauth to your global (a.k.a. user-level) .gitignore. This is good practice as it decreases the chance that you will accidentally leak credentials to GitHub. git_vaccinate() also tries to detect and fix the situation where you have a global gitignore file, but it's missing from your global Git config.



usethis documentation built on May 28, 2022, 1:09 a.m.