Skip to content

Web-Dev-Crew/open-source-practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Open-Source Practice

Welcome to the repository where you can raise a Pull Request to practice contributing to open-source projects! 🎉 Follow the steps below, or if you prefer, watch this video: Youtube video


Tools

Before we begin, ensure you have Git installed on your computer: Download Git
You can verify that Git is installed by running the following command in your terminal :

git --version

alt text


Steps 🪜

1. Fork This Repository

  • Click the gray Fork button at the top right of this page.
  • This creates a copy of the project in your GitHub account.

2. Clone Your Fork

  • After forking the repository, copy the repository URL.
  • Use the command below to clone the repository to your local machine:
    git clone <repository_url> .
    Example:
    git clone https://github.com/Web-Dev-Crew/open-source-practice.git .

3. Edit the Code

  • Create a new branch by running:
    git branch <branch_name>
    Example:
    git branch openSourcePractice

  • Switch to your new branch:
    git switch <branch_name>
    Example:
    git switch openSourcePractice

  • Add your name to the index.html file inside a <div> tag:
    <div>YourName</div>
    Example:
    <div>MhL5</div>

  • Stage your changes:
    git add .

  • Commit your changes with a message:
    git commit -m "Add my name"

  • Push your changes to GitHub:
    git push -u origin <branch_name>
    Note: If it's your first time pushing, you might be prompted to enter your email and name, and to log in to GitHub.

4. Send a Pull Request

  • Open your forked repository on GitHub.
  • Click on Compare & pull request.
  • Ensure you are comparing the Web-Dev-Crew/open-source-practice main branch with your forked repository's branch that you made and switched into.
  • Write a title and description for your pull request.
  • Create your pull request.

Congratulations!🎉 You are done. Sit tight and wait for your pull request to be reviewed and merged.

About

Repo for you to raise a Pull Request for practice

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages