A hands-on introductory workshop to contributing to open source projects!
By the end of this workshop you will have forked a repository, made a change on your own branch, and opened your first pull request.
- Install the prerequisites
- Set up your fork
- Follow CONTRIBUTING.md to make your first contribution
-
Download and install Git. Make sure Git is added to your PATH.
-
Create a GitHub account using your personal email.
-
Open Bash (Git Bash on Windows, Terminal on macOS/Linux) and tell Git who you are:
git config --global user.name "YourUsername" git config --global user.email "YourEmail@example.com"
- Download and install VS Code.
- Sign in to your GitHub account in VS Code.
Fork this repository to your own GitHub account.
-
Create a folder for your GitHub projects.
-
Open that folder in VS Code.
-
Open the VS Code terminal.
-
Clone your fork, replacing
your-usernamewith your GitHub username:git clone https://github.com/your-username/Open-Source-Workshop
-
Move into the cloned folder:
cd Open-Source-Workshop/
Adding an upstream remote lets you pull in updates from the original repository later:
git remote add upstream https://github.com/ufosc/Open-Source-Workshop.git
# Verify the connection (you should see both origin and upstream)
git remote -vYou're set up! Head to CONTRIBUTING.md to find an issue and open your first pull request.
See the LICENSE file for details.