A scratchpad for folks in the PyCon open source tutorial.
-
Fork this GitHub project using the following command:
git clone https://github.com/jesstess/contrib-test
-
Using your favorite text editor, add a new file to this project.
a) Make the name of the file your first name, then a hyphen, then a random number, for example
jessica-19678. b) In this file, add your home town and an open source Python project you are interested in contributing to, for example:I'm from Nashville and interested in contributing to Django! -
Commit this addition to your fork of the project using the following commands:
git add git commit -m "Added my open source interests."
-
Push your changes to the remote repository with the following command:
git push origin HEAD:master
-
Visit the GitHub page for your fork of the project, e.g. https://github.com//contrib-test
-
Create a pull request for your changes.
-
Update your fork of the project to see everyone else's changes, using the following command:
git pull --rebase
-
Explore the changes with commands like
git logandgit show.