<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Roli Gautam</title>
    <description>The latest articles on DEV Community by Roli Gautam (@roligautam).</description>
    <link>https://dev.to/roligautam</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F673278%2F676eb15a-e234-45b6-94a6-66ad886479c8.jpeg</url>
      <title>DEV Community: Roli Gautam</title>
      <link>https://dev.to/roligautam</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/roligautam"/>
    <language>en</language>
    <item>
      <title>How to make your first contribution to Open Source? A Beginner's Guide
</title>
      <dc:creator>Roli Gautam</dc:creator>
      <pubDate>Wed, 28 Jul 2021 06:04:13 +0000</pubDate>
      <link>https://dev.to/roligautam/how-to-make-your-first-contribution-to-open-source-a-beginner-s-guide-2cni</link>
      <guid>https://dev.to/roligautam/how-to-make-your-first-contribution-to-open-source-a-beginner-s-guide-2cni</guid>
      <description>&lt;p&gt;I know that you might be thinking🤔 that Is this blog really help you to start your open-source journey? So, I promise you that after reading this blog, you will definitely feel much confident to make your first open-source contribution.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/f6PLkivnzaxMZwk0MH/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/f6PLkivnzaxMZwk0MH/giphy.gif" alt="Alt text of image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I am sure that you might be hear about the term “open-source”. And you might be thinking What exactly is it? How can you contribute in it? What are the tech or tools need to know to do open source? How can you get started? So, you are at right place. In this blog, I will cover all this and much more.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. What is an open source?
&lt;/h2&gt;

&lt;p&gt;Open Source refers to the source code that is available for modification, enhancement and anyone can use freely. Open-source software is usually developed as a public collaboration and made freely available. Anyone can also contribute in the source code to make it better. GitHub is also an example of an open collaboration.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Why should you contribute in an open-source program?
&lt;/h2&gt;

&lt;p&gt;This is the first question that arises in our mind that why should you contribute to open-source programs?&lt;br&gt;
So, there are plenty of purposes such as :&lt;br&gt;
• Learn new skills&lt;br&gt;
• Share your knowledge&lt;br&gt;
• Grow together and learn together&lt;br&gt;
• Gain experience in Real-World Development&lt;br&gt;
• Build your Networking with like-minded peoples&lt;br&gt;
• Networking will help you to grow your career&lt;br&gt;
• Know about the workflow of Git and GitHub&lt;br&gt;
• Brushed up your skills&lt;/p&gt;
&lt;h2&gt;
  
  
  3. Who can Contribute? What do you need to participate in an open-source program?
&lt;/h2&gt;

&lt;p&gt;If you are a beginner then most probably, these questions arise in your mind. And you might be thinking that, Are you eligible for this program or not?  Well, the answer is Yes. You can contribute to open-source programs. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/4vV84se27YjvWWS1PU/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/4vV84se27YjvWWS1PU/giphy.gif" alt="Alt text of image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Well, For contributing to any open source program,  you don’t need to have a deeper understanding of any tech. Just need to learn the basics of any tech according to your interest and make contributions.&lt;/p&gt;

&lt;p&gt;Let's say, If you know only the basics of HTML and CSS, then you can contribute to any open source project of Web development.  You can make changes in the UI of that project, change color or change the font style. These are very basics issues and you can easily contribute to them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Tip-1&lt;/em&gt;&lt;/strong&gt; &lt;em&gt;: I know, you are much excited to make your first open-source contribution, but before going through all these steps, I would recommend  you to go through this &lt;a href="https://www.javatpoint.com/git-cheat-sheet" rel="noopener noreferrer"&gt;Git Cheat Sheet&lt;/a&gt; and download it on your local PC so that you can review it in future.&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  4. How to get involved in an open-source program?
&lt;/h2&gt;

&lt;p&gt;The first step is to register yourself for any beginner-friendly &lt;br&gt;
  open-source program.&lt;/p&gt;

&lt;p&gt;There are some beginner-friendly open-source programs like :&lt;/p&gt;

&lt;p&gt;•       GirlScript Summer of Code(&lt;a href="https://gssoc.girlscript.tech/" rel="noopener noreferrer"&gt;GSSOC&lt;/a&gt;)&lt;br&gt;
• Lets Grow More Summer of Code(&lt;a href="https://gssoc.girlscript.tech/" rel="noopener noreferrer"&gt;LGMSOC&lt;/a&gt;)&lt;br&gt;
• Script Winter of Code(&lt;a href="https://swoc.tech/" rel="noopener noreferrer"&gt;SWOC&lt;/a&gt;)&lt;br&gt;
• Delta Winter of Code(&lt;a href="https://dwoc.io/" rel="noopener noreferrer"&gt;DWOC&lt;/a&gt;)&lt;br&gt;
• NJACK Winter of Code(&lt;a href="https://njackwinterofcode.github.io/" rel="noopener noreferrer"&gt;NWOC&lt;/a&gt;)&lt;br&gt;
• Kharagpur Winter of Code(&lt;a href="https://kwoc.kossiitkgp.org/" rel="noopener noreferrer"&gt;KWOC&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Checkout &lt;a href="https://github.com/deepanshu1422/List-Of-Open-Source-Internships-Programs" rel="noopener noreferrer"&gt;this&lt;/a&gt; to know about more open-source programs and open-source competitions.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;After enrolling yourself, I am pretty sure that you will get selected.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Tip-2&lt;/em&gt;&lt;/strong&gt; &lt;em&gt;: Try to fill the application form carefully and write your answers properly, You will definitely get selected.&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  5. How to choose an open-source project?
&lt;/h2&gt;

&lt;p&gt;This is a very crucial step. After getting selected, visit on the official website of that open-source program and Check projects according to your tech interest and convenience.&lt;/p&gt;

&lt;p&gt;Within those projects, whenever you catch yourself thinking that something could be better or altered, act on your instinct.&lt;/p&gt;

&lt;p&gt;And Make sure, your selected project will follow these things :&lt;/p&gt;

&lt;p&gt;• The project must have a license&lt;br&gt;
• It should be a recent project that means mentors and admin are active&lt;br&gt;
• Make sure, people are contributing to that project&lt;br&gt;
• There should be an active discussion on the project issue&lt;br&gt;
• Check that mentors are reviewing pull requests of the participants&lt;/p&gt;

&lt;p&gt;If all the above conditions are satisfied by the project then you should go for that project.&lt;/p&gt;
&lt;h2&gt;
  
  
  6. Create your first issue
&lt;/h2&gt;

&lt;p&gt;• After selecting a project, open that project on GitHub&lt;br&gt;
• And check what can you make changes so that this project becomes better?&lt;br&gt;
• Now, after finding an issue on which you can work without any difficulty, visit that project on &lt;code&gt;GitHub&lt;/code&gt; .&lt;br&gt;
• There will be a section of &lt;code&gt;Issues&lt;/code&gt; as shown in this image :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqbf9bci5iek1lislz5vr.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqbf9bci5iek1lislz5vr.jpeg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;• Click here and you will find a option of &lt;code&gt;New issue&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Faog8dc3tdn3uzngp2irx.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Faog8dc3tdn3uzngp2irx.jpeg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;• After clicking on &lt;code&gt;New issue&lt;/code&gt;, you will find some type of issue as shown in this image:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqemxsulrc01p836dlj5w.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqemxsulrc01p836dlj5w.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;• You can choose any option according to your issue type.&lt;br&gt;
• And Fill all the details of your issue and click on &lt;code&gt;Submit new issue&lt;/code&gt; button.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F25mclg7fl2mhn2a40i5h.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F25mclg7fl2mhn2a40i5h.jpeg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Congratulation!👏 Finally, you created your first issue.&lt;/em&gt; &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Tip-3&lt;/em&gt;&lt;/strong&gt; : &lt;em&gt;I would suggest that you should describe your issue properly and also mention that how will you solve this issue.&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  7. What can you do to get assigned that issue to you??
&lt;/h2&gt;

&lt;p&gt;• After submitting your issue, Wait for 2-3 days and a mentor or admin will assign you to work on that issue.&lt;br&gt;
• If you are not getting any response from a mentor then you can text them on the discord channel (most of the open-source programs make a discord channel). &lt;/p&gt;

&lt;p&gt;• After that, I am pretty sure that you will get assigned and get a message on GitHub something like this :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwt7wnd3mee1k2bood5om.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwt7wnd3mee1k2bood5om.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Tip-4&lt;/em&gt;&lt;/strong&gt; : &lt;em&gt;I would suggest you to text individually to the mentor on discord or any other platform like LinkedIn, So that they can notice your message and assign you.&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  8. How to start working on the project?
&lt;/h2&gt;

&lt;p&gt;If you followed all the above steps, then you are good to go.🙌 So let's talk about how to actually start working on the project?&lt;/p&gt;

&lt;p&gt;There are few steps such as : &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;(i) Fork the project :&lt;/strong&gt; At the top right corner, you will see the term &lt;code&gt;fork&lt;/code&gt;. All you need to do is click it and you will have created a copy of the same project in your account. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fua59rali2sgwjw1m2bvu.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fua59rali2sgwjw1m2bvu.jpeg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;(ii) Git SetUp :&lt;/strong&gt; Now, first thing is need to set your Git environment so that you can work on that. &lt;/p&gt;

&lt;p&gt;If you have Git installed then open CMD, but if you haven't then install it from &lt;a href="https://git-scm.com/downloads" rel="noopener noreferrer"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;There are two steps to setup your git environment :&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;(a)Set your user :&lt;/strong&gt; You need to set your user name because every git commit use this information. So use this command to set your user name :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ git config --global user.name "Your_Name"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;(b)Set your email address :&lt;/strong&gt; Also you need to set your email address and for that use this command :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ git config --global user.email &amp;lt;your_email@gmail.com&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Finally, you are done with the Git Setup. Now, You can work on that.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;(iii) Initialize your Project as a Git Project:&lt;/strong&gt; Before cloning the project, first thing is to initialize your repository as git repo. So for that, run this command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ git init  
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command is used to create a new blank repository and to make an existing project as a Git project. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzkkuqoytqfaq1bxdr2wy.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzkkuqoytqfaq1bxdr2wy.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;(iv) Clone the project :&lt;/strong&gt; Now, You need to copy the link of that project, which will be available under the &lt;code&gt;Code&lt;/code&gt; option as shown :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyomx2ybc7m9t7bwodq22.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyomx2ybc7m9t7bwodq22.jpeg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So, now to clone the repository, use this command :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ git clone &amp;lt;url&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command will create a copy of the project on your local pc.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F245tsiaybwv2dvagmh5s.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F245tsiaybwv2dvagmh5s.jpeg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;(v) Create a Branch:&lt;/strong&gt; Before start working on the project, you need to create a branch. Run this command to create a branch:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ git checkout -b &amp;lt;your_branch_name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw1xzo3krhk5rj3vcnw65.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw1xzo3krhk5rj3vcnw65.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;• As shown in the image, before creating the branch, we were in the master branch.&lt;br&gt;
• After creating a branch, we will enter into our newly created branch&lt;br&gt;
• We can also check all the branches present in the project by using this command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ git branch
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff2ysv393nrj6cjxl6c9s.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff2ysv393nrj6cjxl6c9s.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;• Now, you can see in the image that there are two branches in our project:&lt;br&gt;
&lt;strong&gt;a. master branch:&lt;/strong&gt; This will always be present in your project as default or main branch.&lt;br&gt;
&lt;strong&gt;b. new branch:&lt;/strong&gt; This is our newly created branch.&lt;/p&gt;

&lt;p&gt;• We are in our newly created branch &lt;code&gt;newbranch&lt;/code&gt; that’s why it is shown in green color and now, you can write your code in that project.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Tip-5&lt;/em&gt;&lt;/strong&gt; : &lt;em&gt;Try to run &lt;code&gt;$ git status&lt;/code&gt; command as much as possible to check the status of your project at any instant.&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ git status
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  9. Add and commit your changes:
&lt;/h2&gt;

&lt;p&gt;After making the required changes in your code, you need to add and commit these changes to your project. &lt;/p&gt;

&lt;p&gt;• To add your changes run this command :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ git add -A
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;• Run this command to commit :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ git commit -m "Your_commit_message"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command is used to create a snapshot of the staged changes along a timeline of a Git project's history.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs2l6iu3mxr1ypjjtyrtb.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs2l6iu3mxr1ypjjtyrtb.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After running the &lt;code&gt;$ git status&lt;/code&gt; command, we can see in the image that the working tree is clean.&lt;/p&gt;

&lt;p&gt;You can also use &lt;code&gt;git log&lt;/code&gt; command to check the history of commits that are made in the repository.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ git log
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After running the &lt;code&gt;$ git log&lt;/code&gt; command, you might be thinking that how to return back to your CMD. So, for that Press the q key to return to your command prompt.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Tip-6&lt;/em&gt;&lt;/strong&gt;: &lt;em&gt;Write your commit message properly. You can write about what you made changes in that repository?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Let's say you created an issue to make changes in a submit button. Then your commit message should be like :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ git commit -m "Modification in submit button" 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  10. Push your project to the GitHub
&lt;/h2&gt;

&lt;p&gt;Now, you need to push your project. The git push command is used to upload local repository content to a remote repository.  Use this command for pushing your project :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ git push origin &amp;lt;your_branch_name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;or&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ git push --set -upstream origin &amp;lt;your_branch_name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmv9mrpegc4t4jw4f02id.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmv9mrpegc4t4jw4f02id.jpeg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Tip-7&lt;/em&gt;&lt;/strong&gt;: &lt;em&gt;You are doing great. Just try to explore more git commands. And if possible, you can take a print out of the &lt;code&gt;CheatSheet&lt;/code&gt; and paste it near your study table.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  11. Create a pull request :
&lt;/h2&gt;

&lt;p&gt;After pushing your project, visit on GitHub and there you will find a big green button of &lt;code&gt;compare &amp;amp; pull request&lt;/code&gt; as shown in the image : &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fycmmrq9gto0e6kgopzi3.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fycmmrq9gto0e6kgopzi3.jpeg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Click on that and create a pull request in the given format of that project such as :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvyyqu8wv48buugmoc6nv.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvyyqu8wv48buugmoc6nv.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Tip-8&lt;/em&gt;&lt;/strong&gt; : &lt;em&gt;You can also commit an additional message as shown in the image, so that mentor can review your pull request soon.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqp1pz4r1q4luuvlnpqjh.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqp1pz4r1q4luuvlnpqjh.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Congratulation!🤩 Finally, you created your first pull request. You should feel proud on yourself for making your first contribution to an open-source program.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/2hfFmnev3vdNTYKR6x/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/2hfFmnev3vdNTYKR6x/giphy.gif" alt="Alt text of image"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>github</category>
      <category>git</category>
      <category>firstpost</category>
    </item>
  </channel>
</rss>
