I started a blog post and pushed it to the git repo that contains my blog. Charles forked my repo, cloned it to her machine, contributed to the post, and then pushed the updates to her forked copy of the repo.
Then she did a pull request. People in git-land talk about PRs (pull requests) all the time, and the term seems backwards to me. A pull request is when you request that the owner of a repo “pull” the changes that you have made.
Miraculously, there were no conflicts so I merged her contribution with my repo, and then because the blog deploys from git on netlify, it updated the blog automatically.
Because the new content was in my git repo but not on my local machine, I needed to pull the changes to my local machine, but that went smoothly too!
We were victorious!!
I am declaring us victorious, @JenRichmondPhD . Mistresses of Git.— Cap'n Blackheart Bette (@cantabile) November 17, 2019
We successfully wrote a blog post together using R about collaborating via Git! 🥐I forked and cloned and then I pr-ed. 🦆
Mostly we got better at burning it all down, @mdsumner.. https://t.co/vZ2XAQBRdw pic.twitter.com/Ubil1ZlD8W