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: 'Travis CI User'
#> * Email: 'travis@example.org'
#> * Vaccinated: TRUE
#> usethis + git2r
#> * Default usethis protocol: 'ssh'
#> * git2r supports SSH: TRUE
#> * Credentials: '<usethis + git2r default behaviour>'
#> GitHub
#> * Personal access token: <unset>
#> Repo
#> * Path: '/tmp/RtmpvMSMkN/file6c1c7f621e8f/.git'
#> * Local branch -> remote tracking branch: 'gh-pages' -> 'origin/gh-pages'
#> GitHub pull request readiness
#> * origin: r-lib/usethis, NA
#> * upstream: '<no such remote>'