Skip to content

Latest commit

 

History

History
88 lines (57 loc) · 2.08 KB

File metadata and controls

88 lines (57 loc) · 2.08 KB

🎉 GitHub Contributors Program

Welcome to our interactive GitHub Workshop Project!
This repository is designed to help you learn Git and GitHub hands-on — by contributing your own little piece of Python code! 🐍

In this activity, every participant will:

  • 🔁 Fork this repository
  • 💻 Clone it to their computer
  • ✏️ Add their own Python function inside contributors.py
  • 🧱 Commit and Push their changes
  • 🚀 Create a Pull Request to the main repository

🧠 What You’ll Learn

By the end of this activity, you’ll clearly understand how to:

  • Fork a repository
  • Clone it locally
  • Stage, Commit, and Push changes
  • Create and submit a Pull Request (PR)

⚙️ Steps to Contribute

  1. Fork this repository
    Click the Fork button on the top-right of this page to make your own copy.

  2. Clone your fork
    Open Git Bash or your terminal, and type:

    git clone <your-forked-repo-link>
  3. Open the folder in VS Code

  4. Open contributors.py and add your own function. Example:

    def john():
      print("Hey everyone! John here — learning GitHub is awesome!")
  5. Call your function at the bottom of the file.

    john()
  6. Save the file, then add, commit, and push your changes:*

    git add .
    git commit -m "Added my function - John"
    git push
  7. Create a Pull Request (PR)

    • Go back to your forked repository on GitHub

    • Click “Compare & pull request”

    • Add a message like “Added John’s contribution”

    • Click Create Pull Request


🏆 Goal

Once everyone’s PR is merged, running contributors.py will display messages from all participants — a collaborative script built by our entire class! 💪


💬 Credits

This repository is part of our GitHub Workshop, organized to make version control simple, fun, and interactive for everyone.

Happy coding, and enjoy collaborating! ✨