Data visualization and transformation
understand the importance of version control
understand how we use Git & GitHub for version control
set up and configure a personal access token
understand how to clone your course project
It’s not the only version control system, but it’s a very popular one
Git is a version control system – like “Track Changes” features from Microsoft Word, on steroids
GitHub is the home for your Git-based projects on the internet – like DropBox but much, much better
We will use GitHub as a platform for your course projects
Let’s take a tour of
Create a GitHub account
Make sure you are the owner
We recommend naming your repo the same name as the original
Get a personal access token (PAT): usethis::create_github_token()
Copy your PAT
Insert PAT to configure Git, GitHub and R gitcreds::gitcreds_set()
> gitcreds::gitcreds_set()
? Enter password or token: ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
-> Adding new credentials...
-> Removing credentials from cache...
-> Done.
File -> New Project
Version control -> Git
Paste -> Create project
There are many many git commands … but very few people know them all. 99% of the time you will use git to push, commit, and pull
If you are looking for additional resources for working with git and R, continue reading: happygitwithr.com.