usethis icon indicating copy to clipboard operation
usethis copied to clipboard

gitignore from create_from_github

Open dbolta opened this issue 1 year ago • 1 comments

Gitignore consistency between function and IDE wizard

usethis::create_from_github(
  "https://github.com/user/shiny-rotary-phone.git"
)

creates gitignore with 1 file extension: .Rproj.user

File->New Project->Version Control->Git->Create Project creates .gitignore with 4: .Rproj.user .Rhistory .RData .Ruserdata

dbolta avatar Jul 26 '22 13:07 dbolta

I'm not sure what to do about this. Or if we should do anything about this.

The "usethis way" of gitignoring most of these files is to encourage a user to have them in the user-level, global gitignore, perhaps by calling git_vaccinate().

jennybc avatar Aug 29 '22 22:08 jennybc

I don't think we need to do anything about this.

hadley avatar Jan 17 '23 15:01 hadley