-
Make your own fork of our challenges repo: use the Fork button at the top right of the page.
-
Clone your copy:
$ git clone https://github.com/<your_user>/challenges
-
In this case you need to sync our new challenge(s), in your fork directory:
# assuming using ssh key $ git remote add upstream [email protected]:pybites/challenges.git $ git fetch upstream # if not on master: $ git checkout master $ git merge upstream/master # at this point you are asked to commit the merge
-
Have fun :)
$ cd <challenge-number> # edit <template>.py file
- One small issue with working with a forked repo is that Github wont actually recognize any of your activity. If you want to see your activity follow these steps. However be warned that it will prevent you from creating pull-requests.
-
On Github go to the settings page of your forked repo.
-
In the Danger Zone click on the Delete this repository button.
-
Type the full name of the repo in the box and click the button.
-
Create a new repo with the same name as the original repo.
-
Push the repo to Github
$ git push origin master
-
If you want to share your solution, please use the comments of our review posts.
-
If you have ideas for new challenges or issues with existing ones, please use the issues page.
Remember: there is no best solution, only learning more/ better Python. We're looking forward reviewing our and your solutions. Good luck and have fun!
Keep Calm and Code in Python!
-- Bob and Julian