Chapter 28
Git and Github
Git and Github
This guide is all about using source code control: Git and Github.
By the end of this, you should be confident with every day code control processes, including fetching the latest code and submitting a PR to merge your own changes.
Foundational briefing
Here is Git and Github for a PC or Mac audience:
https://chatgpt.com/share/68061486-08b8-8012-97bc-3264ad5ebcd4
Pulling latest code
I regularly add improvements to the course with new examples, exercises and materials.
Here are instructions for how to bring in the latest - the easy way, and the rigorous way!
https://chatgpt.com/share/6806178b-0700-8012-836f-7e87b2670b7b
Contributing your changes to the repo to share your contributions with others
I'd be so grateful to include your contributions. It adds value for all other students, and I love to see it myself! As an added benefit, you get recognition in Github as a contributor to the repo.
Here's the overall steps involved in making a PR and the key instructions:
https://edwarddonner.com/pr
Please check before submitting:
- Your PR only contains changes in community_contributions (unless we've discussed it)
- All notebook outputs are clear
- Less than 2,000 lines of code in total, and not too many files
- Don't include unnecessary test files, or overly wordy README or .env.example or emojis or other LLM artifacts!
Thanks so much!
Detailed steps here:
https://chatgpt.com/share/6873c22b-2a1c-8012-bc9a-debdcf7c835b
If you'd like to become a Git pro
If you want to go deep on using Git, here is a brilliant guide. Read this and you will know much more than me!
