<gitcreds>
protocol: NA
host : NA
username: NA
password: <-- hidden -->
Mini-Lecture 4
Smith College
2024-09-12
I think I just need more practice with GitHub.
Now that I’m taking the time to really learn how it works (instead of just viewing it as an obstacle to be overcome in group projects), I’m starting to understand why certain errors happen.
<gitcreds>
protocol: NA
host : NA
username: NA
password: <-- hidden -->
I’m also a little confused about the reasoning behind pull requests. I know they’re useful when you don’t have access to change a repository, but can they be used when you do have editing power?
My push/pull buttons are still greyed out despite my attempt at troubleshooting using the text. Any help?
usethis are wrappers around git commandsgit push [origin main]main branch. So try git push origin <branchname>usethis::pr_push(branchname = "<brachname>")how worried I should be about the “you are _ commits ahead of master” messages that I always seem to have even after I pull.
Somehow I had trouble or errors for each exercise, which made me very frustrated. I am sure I will face more errors during classes. But after trying and using Github for several times will make me better at Github. Hopefully.
“GitHub is the worst form of version control except for all those other forms that have been tried”
–Me paraphrasing Winston Churchill quoting someone else
I also want to practice more git execution using the terminal
Understanding the different components of
GitHubRStudio, such as Console and Terminal, and how they are related to each other?
I also completed the “Introduction to Github” from Github’s Learning Lab, which was extremely helpful- I highly recommend!
https://lab.github.com/githubtraining/introduction-to-github
Use:
dplyr::filter()dplyr::select()dplyr::pull()purrr::pluck()Avoid:
subset()rvest::pluck()magrittr::extract()magrittr::extract2()Today: Old-school, base R operators: [, [[, $



x
x[1]
x[[1]]
x[[1]][[1]]Lab #4: Subsetting
Reading quiz on Moodle by Monday night at 11:59 pm

SDS 410