Version Control Basic
Git with a Partner
This is a follow up to
First Solo Commit.
Find a partner in the class, you will do some reciprocal collaboration
on your new repositories.
- Add your partner as a collaborator on your github.umn.edu repo
- in your repo, click “Settings”
- Choose “Collaborators” from left side panel
- Search and add your partner by their umn ID
- find partner’s repo on github.umn.edu
- search for owner with UMN ID as follows “user:elind”
- copy repo address.
- In RStudo, click New Project and follow steps to create local repo
- when prompted, enter your partner’s repo address.
-
confirm you have pulled your partner’s repo.
-
In your partner’s repo, add a comment to their data processing script
-
commit the change with an informative message
-
push the change to your partner’s remote repo
-
switch back to the first RStudio Project you first created.
-
Pull to get the changes from online repo.
- In the ‘Git’ tab, open History to see how your partner modified the file.