πΈ Pixel Peep β Challenge Submission Guide
Welcome to the official repository for Pixel Peep, a WeCode Community Project!
This document will guide you through the process of contributing to this challenge using Git and GitHub.
π₯ Top submissions will be selected, and only the winnersβ code will be merged into the main Pixel Peep repository under the WeCode organization!
π Step 1: Set Up Git & GitHub
β 1. Install Git
Download and install Git from the official site:
π https://git-scm.com/downloads
β 2. Create a GitHub Account
If you donβt have one yet:
π https://github.com
π΄ Step 2: Fork the Repository
-
Visit the official Pixel Peep repo:
π https://github.com/WeCode-Community-Dev/pixel-peep -
Click the "Fork" button on the top-right corner to create your own copy of the repository.
π₯ Step 3: Clone Your Fork
Clone your forked repository to your local machine:
git clone https://github.com/<your-username>/pixel-peep.git cd pixel-peep Replace <your-username> with your GitHub username. πΏ Step 4: Create a Branch with Your Name Create a new branch under your name to organize your contributions: git checkout -b your-name-branch Example: git checkout -b anjali-pixelpeep π Step 5: Keep Your Fork in Sync (Recommended) Keep your fork up to date with the original repo: git remote add upstream https://github.com/WeCode-Community-Dev/pixel-peep.git git fetch upstream git merge upstream/main βοΈ Step 6: Add Your Solution β’ Navigate to the appropriate challenge folder. β’ Upload only the solution file. β’ File naming format: <problem-name>.<ext> (e.g., detect-duplicate.py, detect-duplicate.java) π Example Folder Structure: pixel-peep/ β-- Challenge-1/ β βββ detect-duplicate.py β-- Challenge-2/ β βββ match-hash.cpp π€ Step 7: Commit & Push Your Code Add the file(s): git add Challenge-1/detect-duplicate.py Commit with a meaningful message: git commit -m "Added solution for Detect Duplicate" Push your branch to your fork: git push origin your-name-branch π Step 8: Create a Pull Request 1. Go to your forked repository on GitHub. 2. Click βCompare & pull requestβ. 3. Select your branch and ensure youβre comparing with main of the original repo. 4. Add a clear title and description. 5. Click βCreate pull requestβ. π Winnerβs Code Will Be Merged! β The best, original, and correctly working solutions will be selected by reviewers and merged into the official Pixel Peep repository. Make sure your code: β’ Works correctly and efficiently β’ Is clean and well-commented β’ Follows naming and structure conventions β οΈ Important Guidelines β’ β Fork the repo first β Do not push directly to the original repo. β’ β Work on a personal branch named after you. β’ β Upload only the relevant solution file(s). β’ β Use clear and concise commit messages. β’ β Keep your fork updated regularly. β’ β Submit a pull request for every challenge. π¬ Need Help? Reach out to us on the WeCode Community Discord or Forum for any questions or assistance. Happy Peeping! π Let your code shine β only the best get merged! π --- Let me know if you want a badge section, table of contents, or any visuals (like a logo or banner) added to this README as well!