Skip to content

phuocding/master-to-pythonista

Repository files navigation

contributions welcome Hits GitHub issues GitHub forks GitHub stars GitHub license

A repository for contributing a python program in any of the topic you know.

Questions can be asked by raising an Issue.

How to clone repo and make changes locally: ✂📋

  click on the clone button (green in colour). This gives you a copy of the project. Its now yours to play around with
  • Using git on your local machine. Do this to download the forked copy of this repo to your computer
  git clone https://github.com/yourGitHubUsername/master-to-pythonista.git
  • switch to the cloned folder. This can be done with Git Bash or the integrated terminal in the VSCode editor
  cd master-to-pythonista
  • Make a new branch. Your name would make a good branch because it's unique
  git checkout -b <name of new branch>
  • Open the exercises/ applications folder inside that create a folder of your name/your project name. Add all the files of the program inside the folder of your name/your project name.

Note: please add README for yout contribution inside your folder

  • Stage your changes

    • For example, if you have added 1 file
      git add "./exercies/*Your Folder Name*/Hello.py" 
      
    • If there are many files, to add all the files use
      git add "./exercises/*Your Folder Name*/."
      
  • Commit the changes

  git commit -m "Initial commit"
  • Check the status of your repository
  git status
  • Pushing your repository to github
  git push origin <name of your branch>
  • Pulling your request. Click on the Pull requests tab on the forked github repository.
    • Note : A pull request allows your changes to be merged with the original project.
  Click on Pull Request
  • Wait for your changes to be merged

  • Voila! You successfully made a contribution. 😉