inbo / tutorials

A collection of technical tutorials for INBO (and anyone who's interested)
https://inbo.github.io/tutorials/
Creative Commons Attribution 4.0 International
22 stars 9 forks source link

Git authentication #287

Closed hansvancalster closed 2 years ago

hansvancalster commented 2 years ago

There are at least two ways to authenticate Git to third parties: HTTPS protocol, or SSH protocol.

Most of this is explained in length in https://happygitwithr.com/connect-intro.html

The idea of this tutorial is to condense some of this material and make clear recommendations for use at INBO. I think we should mainly follow this advice: https://usethis.r-lib.org/articles/articles/git-credentials.html

Authentication is necessary for communication between Git and GitHub REST API (gh package), GitHub Git Server (gert and git2r packages), some continuous integration procedures, etc.

hansvancalster commented 2 years ago

Part of this tutorial is already written as part of a now obsolete PR in the checklist package. See https://github.com/inbo/checklist/pull/67