| Skip to main content | https://happygitwithr.com/git-basics#content |
| Happy Git and GitHub for the useR | https://happygitwithr.com/ |
| Let’s Git started | https://happygitwithr.com/ |
| 1 Why Git? Why GitHub? | https://happygitwithr.com/big-picture |
| 2 Contributors | https://happygitwithr.com/contrib |
| 3 Workshops | https://happygitwithr.com/workshops |
| Half the battle | https://happygitwithr.com/install-intro |
| 4 Register a GitHub account | https://happygitwithr.com/github-acct |
| 5 Install or upgrade R and RStudio | https://happygitwithr.com/install-r-rstudio |
| 6 Install Git | https://happygitwithr.com/install-git |
| 7 Introduce yourself to Git | https://happygitwithr.com/hello-git |
| 8 Install a Git client | https://happygitwithr.com/git-client |
| Can you hear me now? | https://happygitwithr.com/connect-intro |
| 9 Personal access token for HTTPS | https://happygitwithr.com/https-pat |
| 10 Set up keys for SSH | https://happygitwithr.com/ssh-keys |
| 11 Connect to GitHub | https://happygitwithr.com/push-pull-github |
| 12 Connect RStudio to Git and GitHub | https://happygitwithr.com/rstudio-git-github |
| 13 Detect Git from RStudio | https://happygitwithr.com/rstudio-see-git |
| 14 RStudio, Git, GitHub Hell | https://happygitwithr.com/troubleshooting |
| Get started with GitHub | https://happygitwithr.com/usage-intro |
| 15 New project, GitHub first | https://happygitwithr.com/new-github-first |
| 16 Existing project, GitHub first | https://happygitwithr.com/existing-github-first |
| 17 Existing project, GitHub last | https://happygitwithr.com/existing-github-last |
| 18 Test drive R Markdown | https://happygitwithr.com/rmd-test-drive |
| 19 Render an R script | https://happygitwithr.com/r-test-drive |
| Some Git basics | https://happygitwithr.com/git-intro |
| 20 Repo, commit, diff, tag | https://happygitwithr.com/git-basics |
| 21 Git commands | https://happygitwithr.com/git-commands |
| 22 Branches | https://happygitwithr.com/git-branches |
| 23 Remotes | https://happygitwithr.com/git-remotes |
| 24 Refs | https://happygitwithr.com/git-refs |
| Git remote setups | https://happygitwithr.com/remote-scenarios-intro |
| 25 Common remote setups | https://happygitwithr.com/common-remote-setups |
| 26 Equivocal remote setups | https://happygitwithr.com/equivocal |
| Useful Git patterns for real life | https://happygitwithr.com/workflows-intro |
| 27 The Repeated Amend | https://happygitwithr.com/repeated-amend |
| 28 Dealing with push rejection | https://happygitwithr.com/push-rejected |
| 29 Pull, but you have local work | https://happygitwithr.com/pull-tricky |
| 30 Time travel: See the past | https://happygitwithr.com/time-travel-see-past |
| 31 Fork and clone | https://happygitwithr.com/fork-and-clone |
| 32 Get upstream changes for a fork | https://happygitwithr.com/upstream-changes |
| 33 Explore and extend a pull request | https://happygitwithr.com/pr-extend |
| 34 Make a GitHub repo browsable | https://happygitwithr.com/workflows-browsability |
| 35 Clone a repo | https://happygitwithr.com/clone |
| 36 Create a bingo card | https://happygitwithr.com/bingo |
| 37 Burn it all down | https://happygitwithr.com/burn |
| 38 Resetting | https://happygitwithr.com/reset |
| 39 Search GitHub | https://happygitwithr.com/search |
| Notes | https://happygitwithr.com/notes-intro |
| 40 Run a course with GitHub | https://happygitwithr.com/classroom-overview |
| 41 Ideas for content | https://happygitwithr.com/ideas-for-content |
| 42 Bookdown cheat sheet | https://happygitwithr.com/bookdown-cheat-sheet |
| A The shell | https://happygitwithr.com/shell |
| B Comic relief | https://happygitwithr.com/comic-relief |
| C Resources | https://happygitwithr.com/resources |
| D References | https://happygitwithr.com/references |
| View book source | https://github.com/jennybc/happy-git-with-r |
| https://happygitwithr.com/git-basics#git-basics |
| https://happygitwithr.com/git-basics#repos-or-repositories |
| Ram 2013 | https://happygitwithr.com/references#ref-Ram2013 |
| Bartlett 2016 | https://happygitwithr.com/references#ref-git-for-humans |
| Perez-Riverol et al. 2016 | https://happygitwithr.com/references#ref-ten-simple-rules-git |
| by adding your initials or the date | http://www.phdcomics.com/comics/archive.php?comicid=1531 |
| STAT 545 | http://stat545.com |
| https://happygitwithr.com/git-basics#commits-diffs-and-tags |
| 20.1 | https://happygitwithr.com/git-basics#fig:commit-diff-sha-tag |
| 20.1 | https://happygitwithr.com/git-basics#fig:commit-diff-sha-tag |
| 20.1 | https://happygitwithr.com/git-basics#fig:commit-diff-sha-tag |
| 20.1 | https://happygitwithr.com/git-basics#fig:commit-diff-sha-tag |
| Some Git basics | https://happygitwithr.com/git-intro |
| 21 Git commands | https://happygitwithr.com/git-commands |
| 20 Repo, commit, diff, tag | https://happygitwithr.com/git-basics#git-basics |
| 20.1 Repos or repositories | https://happygitwithr.com/git-basics#repos-or-repositories |
| 20.2 Commits, diffs, and tags | https://happygitwithr.com/git-basics#commits-diffs-and-tags |
| View source | https://github.com/jennybc/happy-git-with-r/blob/main/git-basics.Rmd |
| Edit this page | https://github.com/jennybc/happy-git-with-r/edit/main/git-basics.Rmd |
| bookdown | https://bookdown.org |