This marks the end of the GitHub section and the workshop. Please remember to fill out your post-workshop feedback. This feedback is vital for us to keep improving the lesson for other learners.
Where to next?
The Git & GitHub Working Practices lesson teaches you how to work collaboratively with others using Git and GitHub. It explores more complex workflows and topics, building on from this lesson.
There are also a number of optional episodes after this page which focus on open science and code which you can read in your own time.
You can revisit this training anytime. Useful page links:
- Glossary
- Key Points
- Discussion page with extra information on some episodes
- FCM to Git cheat sheet
- Git cheatsheets
You can keep your weather repositories around to practice with for as long as you like and when you are ready to delete them use the instructions at the end of this page.
Summary
You’ve now created a repository both locally on your computer and remotely on GitHub. You’ve developed changes on a feature branch, reviewed the changes on GitHub and merged them into main
. The diagram below outlines the workflow you used during the course:
A summary page outlining the steps we’ve taken to create a new repository locally and connect it to a GitHub remote can be found in the extra Quick Start Repository Guide.
Deleting a Repository
Make sure you are certain you want to delete the repository. If you delete both the local and GitHub repositories you won’t be able to recover your files!
Deleting a Local Repository
$ cd ~/Desktop
$ rm -rf weather
Deleting a GitHub Repository
- Navigate to
https://github.com/<your-username>/weather/settings
- Scroll down to the last setting in the Danger Zone
- Click on
Delete this repository
You will be asked to confirm twice that you understand the effects of deleting the repository. You will also be asked to type out <your-username>/weather
to confirm the deletion and you may have to confirm the deletion using MFA or your passkey.