Get a situation report on your current git/GitHub status. Useful for diagnosing problems. git_vaccinate() adds some basic R- and RStudio-related entries to the user-level git ignore file.

git_sitrep()

Examples

git_sitrep()
#> Git user #> * Name: 'Eric Anderson' #> * Email: 'andersone@metrumrg.com' #> * Vaccinated: FALSE #> usethis + git2r #> * Default usethis protocol: 'ssh' #> * git2r supports SSH: TRUE #> * Credentials: '<usethis + git2r default behaviour>' #> GitHub #> * Personal access token: <unset> #> Repo #> * Path: '/tmp/RtmpbpkmkV/usethis-1.5.1/.git' #> * Local branch -> remote tracking branch: '<unset>' -> '<unset>' #> GitHub pull request readiness #> * origin: r-lib/usethis, NA #> * upstream: '<no such remote>'