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: '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/RtmpVDZKqi/file3b7d4dfc4139/.git' #> * Local branch -> remote tracking branch: 'gh-pages' -> 'origin/gh-pages' #> GitHub pull request readiness #> * origin: r-lib/usethis, NA #> * upstream: '<no such remote>'