Giter Club home page Giter Club logo

firstcontribution's Introduction

First Contribution

This is a repository for beginners to practice making their first contribution. If you are looking to make your first contribution, follow the steps below.

Requirements

  • Basic Knowledge of Git and Github.
  • Must have logged in to your Github account.
  • Git must be installed on your system.

How to make your first contribution

Here are the steps to make your first contribution:

Step 1: Fork this repository

Click on the fork button on the top of this page. This will create a copy of this repository in your account.

Step 2: Clone the repository

You now have a copy of the repository in your Github account. Let us clone it to your machine using the following command.

git clone <url>

where url is the url of your forked repository. You can get this url by clicking on the clone button and then clicking the copy to clipboard icon.

Step 3: Create a branch

Open the terminal and navigate to the project directory. Now create a branch using the git branch command. You can give branch name as your name or anything you want.

git branch <add-your-new-branch-name> git checkout <your-new-branch-name>

Step 4: Add Your Name To Contributors List

Now open the Contributors.md file in a text editor, add your name to it in the following format:

[Your Name](Your GitHub Profile Link)

Step 5: Make necessary changes and commit those changes

Now open Contributors.md file in a text editor, add your name to it, then save the file.

If you go to the project directory and execute the command git status, you'll see there are changes. Add those changes to the branch you just created using the git add command. Now commit those changes using the git commit command.

git add Contributors.md git commit -m "Added <your-name> to contributors list"

Step 5: Push changes to GitHub

Push your changes using the command git push origin <your-branch-name>.

Step 6: Submit your changes for review

If you go to your repository on GitHub, you'll see a Compare & pull request button. Click on that button. Now submit the pull request.

Congratulations! You have successfully created your first pull request. Wish you all the best for your open source journey.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.