Welcome to our GitHub and Python Syntax Tutorial! This repository is designed to guide you through the basics of GitHub and Python. You'll engage in hands-on activities using GitHub and work on a Python notebook to grasp Python syntax.
This section will introduce you to the essential functions of GitHub. We start with a slide presentation and then move on to practical exercises.
-
Create Your Own Repository
- Learn how to create a new repository on GitHub.
-
Create a New Branch
- Understand the concept of branching in GitHub and create a new branch in your repository.
-
Make a Commit
- Make changes to a file and commit these changes to your branch.
-
Create a Pull Request
- Learn how to create a pull request to propose your changes to the main branch.
-
Merge Pull Request
- Merge your pull request into the main branch of your repository after it has been reviewed.
-
Fork a Repository
- Fork this repository to your own account
In this part, you will work on a Python notebook in this repository, which contains a tutorial on Python syntax. Your assignment will involve making changes to this notebook.
-
Fork this Repository
- Fork this repository to your GitHub account. This will create a copy under your control.
-
Create a New Branch in Your Fork
- In your forked repository, create a new branch for your changes.
-
Make Changes in the Python Notebook
- Open the Python notebook(in your own repository) on Colab.
- Copy this notebook in your own drive.
- For each heading in the notebook you need to do the following tasks:
- Add one new example in the tutorial.
- Write a description of the example you added.
- Save this updated notebook with the same name (i.e. Introduction_to_Python.ipynb) and upload directly from Colab to your own Github account's branch that you just created. (saving with the same name is neccessary so that i can see your changes!)
- Commit changes to your branch.
-
Create a Pull Request
- After making the changes, create a pull request in your forked repository to merge your branch into your main branch.
-
Merge Your Pull Request
- Review and then merge the pull request into the main branch of your forked repository.
If you have any questions or require assistance, please feel free to reach out to Maryiam Zahoor (TA)
Note to Students: This tutorial is an opportunity for you to gain hands-on experience with GitHub and Python. Explore, make mistakes, and learn. Happy coding!