Introduction to Git and GitHub training based on the Forwards workshops:
Setting up your system and Your first package as part of the one-hour package development series.
- Prework - Get set up on a computer
- Introduction - What is version control?
- Setting up - Getting started with Git and GitHub
- Version Control - What is Git/GitHub and how they relate to RStudio along with the ups and downs of Git
- Workflow - Brief introduction to the Git and GitHub terminology
- Workflow with {usethis} and {gert} - start work and making a commit
- Pull Requests (PRs) - making pull request, pausing, resuming and finishing
- Merge conflict! - repeat steps from previous session and create a conflict merge
- Commit to main (and undo last commit!) - how committing is possible to the main and undo last commits
- Undo last merge - undoing a merge (reverting a pull request)
- Existing repositories - Getting copies of existing repositories
{usethis} errors - typical errors from set up issues