Motivation
|
|
Project directories
|
|
In-browser session
|
|
Introduction to R and R Studio
|
|
Our first repo
|
Initializing a Git repository is simple: git init
Commits should be used to tell a story.
Git uses the .git folder to store the snapshots.
|
Sharing repositories online
|
A repository can have one or multiple remotes.
A remote serves as a full backup of your work.
‘Cloning’ initialises a repository using content from somewhere else.
‘Pushing’ sends local changes to the remote.
‘Pulling’ gets remote changes onto your local machine.
A remote allows other people to collaborate with you.
|
Fixing mistakes
|
Git history can be reverted without modifying it
Changes that are not committed can be deleted permanently
Once changes are committed they are safe
Sometimes, you just need to burn it all down and start again
|
Collaborative notetaking
|
|