Skip to content

Commit

Permalink
Update man page for git_vaccinate() (#1867)
Browse files Browse the repository at this point in the history
* Update man page for git_vaccinate()

I updated the man page for the git_vaccinate() command such that it documents **all** of the adjustments made to the `.gitignore`. I also reordered the list of files and directories that the command adds to the `.gitignore` such that it fits the order in the output returned after calling the command.

Sorry if my line breaks do not follow your standard conventions. I was a little unsure about that.

* Revert "Update man page for git_vaccinate()"

This reverts commit 839512c.

* Correction of update man page for git_vaccinate()

I corrected my updates suggested in the commit 839512c according to the comments from @jennybc. Thank you!
  • Loading branch information
jakobarendt committed Jun 23, 2023
1 parent fd94968 commit 2100af9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/git.R
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ default_branch_sitrep <- function() {

#' Vaccinate your global gitignore file
#'
#' Adds `.DS_Store`, `.Rproj.user`, `.Rdata`, `.Rhistory`, and `.httr-oauth` to
#' Adds `.Rproj.user`, `.Rhistory`, `.Rdata`, `.httr-oauth`, `.DS_Store`, and `.quarto` 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
Expand Down
2 changes: 1 addition & 1 deletion man/git_vaccinate.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2100af9

Please sign in to comment.