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 config (global)
#> * Name: 'andersone1'
#> * 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/RtmpGPQrFG/usethis-1.6.0/.git'
#> * Local branch -> remote tracking branch: '<unset>' -> '<unset>'
#> GitHub pull request readiness
#> * origin: r-lib/usethis, NA
#> * upstream: '<no such remote>'