Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 2.48 KB

CONTRIBUTING.md

File metadata and controls

55 lines (39 loc) · 2.48 KB

Contribution Guidelines

  • Star the repository.

  • On the GitHub page for this repository, click on the Button "Fork". fork image

  • Create clone your forked repository on your local machine. code ui

    For example, run this command inside your terminal:

    git clone https://github.com/<your-github-username>/Py-Resources.git

    Replace <your-github-username>!

    Learn more about forking and cloning a repo.

  • Before you make any changes, keep your fork in sync to avoid merge conflicts:

    git remote add upstream https://github.com/Python-World/Py-Resources.git
    git fetch upstream
    git pull upstream master
    git push
  • If you run into a merge conflict, you have to resolve the conflict. There are a lot of guides online, or you can try this one by opensource.com.

  • Checkout to development branch (name your branch according to the issue name).

    git checkout -b <branch-name>
  • Create a folder in one of the folders in the Scripts' directory according to issue name.

  • Write your code and add to the respective folder in the projects directory, locally.

  • Add the changes with git add, git commit (write a good commit message, if possible):

    git add -A
    git commit -m "<your message>"
  • Push the code to your repository.

    git push origin <branch-name>
  • Go to the GitHub page of your fork, and make a pull request:

    pull request image

    Read more about pull requests on the GitHub help pages.

  • Now wait, until one of us reviews your Pull Request! If there are any conflicts, you will get a notification.