<?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: Gaurav Maheshwari</title>
    <description>The latest articles on DEV Community by Gaurav Maheshwari (@gaurav24072002).</description>
    <link>https://dev.to/gaurav24072002</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%2F586593%2Ffe26e485-2013-4e92-9240-765d2560cdd6.jpeg</url>
      <title>DEV Community: Gaurav Maheshwari</title>
      <link>https://dev.to/gaurav24072002</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gaurav24072002"/>
    <language>en</language>
    <item>
      <title>PCI Devices in Linux</title>
      <dc:creator>Gaurav Maheshwari</dc:creator>
      <pubDate>Sat, 31 Jul 2021 18:11:07 +0000</pubDate>
      <link>https://dev.to/gaurav24072002/pci-devices-in-linux-36fi</link>
      <guid>https://dev.to/gaurav24072002/pci-devices-in-linux-36fi</guid>
      <description>&lt;h2&gt;
  
  
  What are PCI Devices ?
&lt;/h2&gt;

&lt;p&gt;A PCI device is any piece of computer hardware that plugs directly into a PCI slot on a computer's motherboard. PCI, which stands for Peripheral Component Interconnect, was introduced to personal computers by the Intel Corporation in 1993. The technology to operate PCI is integrated into the motherboard of nearly every personal computer manufactured since 1995. A PCI connection on a motherboard can be identified as a long strip of raised copper connectors encased in plastic. This long strip of connectors is usually called a bus.&lt;/p&gt;

&lt;p&gt;The PCI bus is not as fast as the system bus. Its primary purpose is to facilitate communication of hardware devices of all types such as audio, video, network or graphics with the microprocessor.&lt;/p&gt;

&lt;h3&gt;
  
  
  Command to list down all PCI devices in linux system.
&lt;/h3&gt;

&lt;p&gt;The &lt;code&gt;lspci&lt;/code&gt; command is used to display detailed information about all PCI buses and devices in the server or desktop or laptop powered by Linux operating system.&lt;br&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%2F20r1irc930neerpzaybe.PNG" 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%2F20r1irc930neerpzaybe.PNG" alt="lspci"&gt;&lt;/a&gt;&lt;br&gt;
&lt;code&gt;lspci –tv&lt;/code&gt; command will list down all the PCI as tree structure because of &lt;code&gt;–t&lt;/code&gt; and due to &lt;code&gt;-v&lt;/code&gt; shows the device vendors and names.&lt;br&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%2Fpp08jkt5o3ouyy5f2c31.PNG" 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%2Fpp08jkt5o3ouyy5f2c31.PNG" alt="tree pci"&gt;&lt;/a&gt;&lt;br&gt;
&lt;code&gt;lspci -k&lt;/code&gt; shows the kernel driver that is being used to handle the respective PCI device&lt;br&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%2Fbcrtc6654m72n87r1q5r.PNG" 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%2Fbcrtc6654m72n87r1q5r.PNG" alt="kernel pci"&gt;&lt;/a&gt;&lt;br&gt;
&lt;code&gt;lspci -m&lt;/code&gt; is used If you want to pass the output of the lspci command to a shell script, you may want to use &lt;code&gt;-m&lt;/code&gt; option (or &lt;code&gt;-mm&lt;/code&gt; option) as shown below.&lt;br&gt;
This option is also helpful when you want to view the subsystem information.&lt;br&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%2Fmja1qwajdnlpbhh9fys2.PNG" 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%2Fmja1qwajdnlpbhh9fys2.PNG" alt="-m"&gt;&lt;/a&gt;&lt;br&gt;
&lt;code&gt;lspci -n&lt;/code&gt; If you want to display the PCI vendor code, and the device code only as the numbers, use &lt;code&gt;-n&lt;/code&gt; option. This will not lookup the PCI file to get the corresponding values for the numbers.&lt;br&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%2Flwmlh2igtarli8q1czs4.PNG" 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%2Flwmlh2igtarli8q1czs4.PNG" alt="-n"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: If you are not able to apply the switches(&lt;code&gt;lspci [&amp;lt;switches&amp;gt;]&lt;/code&gt;) install pciutils.&lt;/p&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;

&lt;p&gt;apt install pciutils&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Here In the system I have 10 PCI powered by the Linux operating system. 
![lspci](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/20r1irc930neerpzaybe.PNG
)
1.  **Host Bridge** - The "Host Bridge" is what connects the tree of PCI busses (which are
internally connected with PCI-to-PCI Bridges) to the rest of the
system. 
![host bridge](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7s5j3zh7234v79nh4s7h.gif)
2. **ISA Bridge** – ISA Stands for Industry Standard Architecture. PCI to ISA bridge is the most common method of interfacing ISA devices to modern chipsets. In most respects, these devices perform like a standard PCI device.
3. **IDE interface** - Integrated Drive Electronics is for connection of storages devices such as Hard Disk Drives (HDD), Solid State Drives (SSD) and CD/DVD drives to the computer.
4. **VGA compatible controller** - VGA stands for Video Graphics Array. VGA Controller is the digital circuit designed to drive VGA displays.
5. **Ethernet controller** - Ethernet controller allows you to make a wired connection to a computer network. This provides access to the network programs and resources, including a high-speed Internet connection.
6. **System peripheral** - It is any external device that provides input and output for the computer. For example, a keyboard and mouse
7. **Multimedia audio controller** - Multimedia audio controller drivers allow your operating system to communicate with the sound hardware such as your speakers, headphones, etc. Thus, if there is a problem with these drivers, your connected audio devices won't work properly.
8. **USB controller** - USB controller is an interface that allows an enabled piece of hardware to interact and communicate with a particular piece of software.
9. **Bridge** - Bridge is a device that connects a PCI bus to either another PCI bus or a bus of a different standard
10. **SATA controller** - SATA controller is a hardware interface that connects a hard drive to a computer's motherboard and manages or directs the flow of data
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>linux</category>
      <category>pci</category>
      <category>ubuntu</category>
      <category>bash</category>
    </item>
    <item>
      <title>How to Write Markdown ?</title>
      <dc:creator>Gaurav Maheshwari</dc:creator>
      <pubDate>Sun, 18 Jul 2021 16:15:15 +0000</pubDate>
      <link>https://dev.to/gaurav24072002/how-to-write-markdown-44mi</link>
      <guid>https://dev.to/gaurav24072002/how-to-write-markdown-44mi</guid>
      <description>&lt;h2&gt;
  
  
  What is Markdown ?
&lt;/h2&gt;

&lt;p&gt;A scripting language that is very lightweight. Markdown is rapidly used in content writing in some blog post website like this one.&lt;/p&gt;

&lt;p&gt;What is Readme.md file ? ( ___.md )&lt;/p&gt;

&lt;p&gt;It is a simple plain text file that contain basic information of the files and guides. It's usually used to write basic documentation, most popularly repositories by repository providers like GitHub, GitLab and bitbucket.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Some of the Markdown Editor:&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://stackedit.io/"&gt;StackEdit&lt;/a&gt;&lt;br&gt;
&lt;a href="https://jbt.github.io/markdown-editor/"&gt;Markdown Editor&lt;/a&gt;&lt;br&gt;
&lt;a href="https://markdownlivepreview.com/"&gt;Markdown Live Preview&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Let's now learn some commands of markdown.
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;To write normal text :&lt;/strong&gt; simply write on .md file.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;## Heading : '#' is used for heading =&amp;gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h1&gt;
  
  
  Heading 1
&lt;/h1&gt;
&lt;h2&gt;
  
  
  Heading 2
&lt;/h2&gt;
&lt;h3&gt;
  
  
  Heading 3
&lt;/h3&gt;
&lt;h4&gt;
  
  
  Heading 4
&lt;/h4&gt;
&lt;h5&gt;
  
  
  Heading 5
&lt;/h5&gt;
&lt;h6&gt;
  
  
  Heading 6
&lt;/h6&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;h2&gt;
  
  
  Italics :
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;_Italics_&lt;/code&gt; =&amp;gt; &lt;br&gt;
&lt;em&gt;Italics&lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;h2&gt;
  
  
  Bold or Strong Text :
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;**Bold/Strong**&lt;/code&gt; =&amp;gt; &lt;strong&gt;Bold/Strong&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;h2&gt;
  
  
  Bold and Italics :
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;***Bold and Italics***&lt;/code&gt; =&amp;gt; &lt;strong&gt;&lt;em&gt;Bold and Italics&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;h2&gt;
  
  
  Scratch any tet :
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;~~1000~~&lt;/code&gt; =&amp;gt; &lt;del&gt;1000&lt;/del&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;h2&gt;
  
  
  Links :
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;[include title to show on file](include the link here)&lt;/code&gt; =&amp;gt;&lt;br&gt;
&lt;code&gt;[Visit My Portfolio](https://gaurav24072002.github.io/)&lt;/code&gt; =&amp;gt; &lt;br&gt;
&lt;a href="https://gaurav24072002.github.io/"&gt;Visit My Portfolio&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;h2&gt;
  
  
  Images :
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;![Alternative text for image](include Image link)&lt;/code&gt; =&amp;gt; &lt;br&gt;
&lt;code&gt;![Markdown-mark](https://octodex.github.com/images/daftpunktocat-guy.gif)&lt;/code&gt; =&amp;gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cY9dNXTR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://octodex.github.com/images/daftpunktocat-guy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cY9dNXTR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://octodex.github.com/images/daftpunktocat-guy.gif" alt="Markdown-mark"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;h2&gt;
  
  
  To make any text look like code :
&lt;/h2&gt;


&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;` This is the code format of markdown file `
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;=&amp;gt; &lt;code&gt;This is the code format of markdown file&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;## To get all the syntax of a particular programming language :
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;very&lt;/span&gt; &lt;span class="nx"&gt;name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Gaurav&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;name&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;ul&gt;
&lt;li&gt;
&lt;h2&gt;
  
  
  Blockquotes :
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;&amp;gt; Blockquotes&lt;/code&gt; =&amp;gt; &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Blockquotes&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;h2&gt;
  
  
  Horizontal Line :
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;***&lt;/code&gt; =&amp;gt;&lt;/p&gt;



&lt;p&gt;&lt;code&gt;---&lt;/code&gt; =&amp;gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;



&lt;p&gt;&lt;code&gt;___&lt;/code&gt; =&amp;gt;&lt;/p&gt;



&lt;ul&gt;
&lt;li&gt;## Tables : 
Tables are available in GitHub Flavored Markdown (GFM). To create a table, separate each column with the pipe symbol | and use three or more hyphens --- to indicate the first row (column headers).
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;| Tables | Goas | Here |
| --- | --- | --- |
| One | Two | Three |
| Four | Five | Six |
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--gs9glvhV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s2aswgpiskn6nk3h1kxw.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--gs9glvhV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s2aswgpiskn6nk3h1kxw.PNG" alt="Table"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;## Lists :
&amp;gt; Note : We have indentation in list &lt;/li&gt;
&lt;li&gt;Nested List :
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;* Fruit
    - Second Level
        + Third Level
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;=&amp;gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;First Level

&lt;ul&gt;
&lt;li&gt;Second Level

&lt;ul&gt;
&lt;li&gt;Third Level
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Ordered List =&amp;gt; 
    1. List One
    2. List Two
    3. List Three
Unordered List =&amp;gt; 
    - List Four
    - List Five
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Ordered List =&amp;gt; &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;List One&lt;/li&gt;
&lt;li&gt;List Two&lt;/li&gt;
&lt;li&gt;List Three&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Unordered List =&amp;gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;List Four&lt;/li&gt;
&lt;li&gt;List Five&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  Escaping Characters
&lt;/h2&gt;

&lt;p&gt;In case you actually want to use certain literals like &lt;code&gt;*&lt;/code&gt; and &lt;code&gt;#&lt;/code&gt; without having them formatted, simply prefix a backslash &lt;code&gt;\&lt;/code&gt; before the character or wrap it inside a pair of backticks (similar to inline code).&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;\# Without the backslash, this would be a level 1 heading!
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Summary -
&lt;/h2&gt;

&lt;p&gt;Now that you know how to use Markdown, it's your turn to play around with the syntax, build cool projects with it, and have fun along the way!&lt;/p&gt;

</description>
      <category>markdown</category>
      <category>readme</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Git Config and Git Aliases</title>
      <dc:creator>Gaurav Maheshwari</dc:creator>
      <pubDate>Fri, 16 Jul 2021 23:57:18 +0000</pubDate>
      <link>https://dev.to/gaurav24072002/git-config-and-git-aliases-5f2g</link>
      <guid>https://dev.to/gaurav24072002/git-config-and-git-aliases-5f2g</guid>
      <description>&lt;p&gt;Hey Guys🖐!! In this Blog I will tell you about git config command, Git aliases, which allow you to create shortcuts for frequently used Git operations. Becoming familiar with git config and the various Git configuration settings will help you create a powerful, customized Git workflow.&lt;br&gt;
I have posted the video on Git Config and Git Aliases on my YouTube Channel so you can watch that Video for Detailed Explanation through video.&lt;br&gt;
Link To Video - &lt;a href="https://www.youtube.com/watch?v=ANcQEnBjXyU&amp;amp;t=224s" rel="noopener noreferrer"&gt;Git Config and Git Aliases&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;
  
  
  What is Git Config 🤷‍♂️?
&lt;/h1&gt;

&lt;p&gt;The git config command is a convenience function that is used to set Git configuration values on a global or local project level. These configuration levels correspond to .gitconfig text files.&lt;br&gt;
In one line - "The git config command is a function that sets configuration variables"&lt;/p&gt;
&lt;h2&gt;
  
  
  The git config levels and files
&lt;/h2&gt;

&lt;p&gt;Mainly there are three config levels &lt;/p&gt;

&lt;p&gt;&lt;code&gt;--local&lt;/code&gt;&lt;br&gt;
When no configuration option is passed git config writes to a local level, by default.The repository of the .git directory has a file that stores local configuration values.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;--global&lt;/code&gt;&lt;br&gt;
The application of the global level configuration includes the operating system user. Global configuration values can be found in a file placed in a user's home directory.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;--system&lt;/code&gt;&lt;br&gt;
The System-level configuration includes all users on an operating system and all repositories. System-level configuration is applied across an entire machine. System-level configuration file is located in a git config file of the system root path.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;NOTE: the order of priority for configuration levels is: local, global, system. This means when looking for a configuration value, Git will start at the local level and bubble up to the system level.&lt;br&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%2Fnugfa7qzkex8qs0wkmv9.PNG" 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%2Fnugfa7qzkex8qs0wkmv9.PNG" alt="git_cinfig"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;
  
  
  Configuring Name and Email in Git Bash :
&lt;/h2&gt;

&lt;p&gt;Let's First check whether our name and email are set or not :&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 user.email  
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





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

&lt;/div&gt;



&lt;p&gt;If your Email and name are not set you can set them by:&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 user.email "abc@gmail.com"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





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

&lt;/div&gt;



&lt;h3&gt;
  
  
  Color.Ui✨
&lt;/h3&gt;

&lt;p&gt;Git comes with another property of providing color to the outputs. By default I think it is set to auto. &lt;br&gt;
&lt;strong&gt;If your git color ui is not enabled you can enable it by the command :&lt;/strong&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 config --global color.ui true
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To make it set to auto apply 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 color.ui auto
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For disabling all Git's colored terminal output you can do the following:&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 color.ui false
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Git Aliases 🎉
&lt;/h2&gt;

&lt;p&gt;Git Aliases are custom shortcuts that define which command will expand to longer or combined commands. Aliases save you the time and energy cost of typing frequently used commands. Git provides its own alias system.&lt;br&gt;
And every developer want his code to be short and clear to make it understand properly and conserve his time so that he can make that time useful to develop other things😋.&lt;br&gt;
Git aliases are stored in Git configuration files.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example :&lt;/strong&gt; You do &lt;code&gt;git commit -m "new commit"&lt;/code&gt; but with git commit you can do it simply by &lt;code&gt;git cm "new commit"&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;The general git config command used to configure aliases is:&lt;br&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%2Fg209gl3sfpex3ug9on8e.PNG" 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%2Fg209gl3sfpex3ug9on8e.PNG" alt="aliases"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;NOTE: We will set aliases globally because we require alias to be set for our whole  Operating System.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Now let's see some git alias:&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 alias.co checkout
$ git config --global alias.br branch
$ git config --global alias.ci commit
$ git config --global alias.st status
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Changing git aliases at any time :
&lt;/h4&gt;

&lt;p&gt;You can Change, Delete or add new aliases by these ways: &lt;br&gt;
&lt;strong&gt;Command on git Bash -&lt;/strong&gt;&lt;br&gt;
Changing or Deleting -&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 --unset alias.&amp;lt;alias&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Editing on Vim or VsCode Editors&lt;/strong&gt;&lt;br&gt;
Changing, Adding or Deleting -&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;vim ~/.gitconfig
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;code ~/.gitconfig
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To See all your Global config file setups including email, name, color.ui, aliases and more use the command :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cat .gitconfig
&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%2Fo0d0nmjmks5j1ezm9huf.png" 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%2Fo0d0nmjmks5j1ezm9huf.png" alt="shows all details"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Summary👉
&lt;/h1&gt;

&lt;p&gt;I hope this Blog was helpful in improving your Git workflow. If you have any queries or suggestions, let’s discuss in the comment section.&lt;br&gt;
If you all like the content and got to learn something new please give a ❤ and 🦄. &lt;br&gt;
To learn more about Git, GitHub, Git Config or any code related stuff Please go to my &lt;a href="https://www.youtube.com/channel/UCcAsN-6g9KWAVxXFcVVKhkg" rel="noopener noreferrer"&gt;YouTube Channel&lt;/a&gt; and subscribe if you want more of such learning.&lt;br&gt;
Dedicated video link on this topic - &lt;a href="https://www.youtube.com/watch?v=ANcQEnBjXyU&amp;amp;t=224s" rel="noopener noreferrer"&gt;Video Link&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thank You and Happy Learning😎!!&lt;/p&gt;

</description>
      <category>git</category>
      <category>productivity</category>
      <category>github</category>
      <category>bash</category>
    </item>
    <item>
      <title>My 3 Month Experience in GSSOC '21 </title>
      <dc:creator>Gaurav Maheshwari</dc:creator>
      <pubDate>Mon, 05 Jul 2021 10:11:45 +0000</pubDate>
      <link>https://dev.to/gaurav24072002/my-3-month-experience-in-gssoc-21-2pjh</link>
      <guid>https://dev.to/gaurav24072002/my-3-month-experience-in-gssoc-21-2pjh</guid>
      <description>&lt;h2&gt;
  
  
  What is Girl Script Summer of Code ?
&lt;/h2&gt;

&lt;p&gt;GirlScript Summer of Code is the 3 month long Open Source program during summers conducted by GirlScript Foundation, started in 2018, with an aim to help beginners get started with Open Source Development while encouraging diversity.&lt;/p&gt;

&lt;h3&gt;
  
  
  Who can Participate ?
&lt;/h3&gt;

&lt;p&gt;If you have basic git skills or are first timers or even veteran developers, GirlScript Summer of Code would give you a taste of contributing in a long open source projects. Continuously for 3 months you will contribute to your assigned projects under guidance of experienced mentors.&lt;/p&gt;

&lt;h4&gt;
  
  
  My Experience at GSSOC '21 :
&lt;/h4&gt;

&lt;p&gt;On the day of 29nd Jan, the mentor/participant registration period began. And I got my selection mail on 18th Feb which looks like this :&lt;br&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%2F6yztewlmxl1j5s70h0r1.PNG" 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%2F6yztewlmxl1j5s70h0r1.PNG" alt="Selection Mail"&gt;&lt;/a&gt;&lt;br&gt;
After the registration closed, the selected list of projects that covered a wide variety of tech stack was announced on the GSSoC website so that going through those several projects and choosing the project which matched my tech stack became more accessible.&lt;/p&gt;

&lt;p&gt;From a huge number of projects I worked mainly on three projects which were :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Devternship
&lt;code&gt;

DevTernShip aims to automate a process that is usually beset by difficulties; The recruitment phase is riddled with disorientation and this makes it difficult for the onboarding interns to make heads or tails of the system.

&lt;/code&gt;
&lt;code&gt;

Here's where DevTernShip jumps into the picture - An Internship Onboarding platform with an innovative learning management system and intuitive performance tools, we ensure that all is 'smooth sailing' when it comes to the talent pipeline. Moreover, Augmented efficiency is brought about with a simple and robust UI, thus rendering the experience even more dynamic. 

&lt;/code&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%2Fq74ma1hcbx9siyabw8qt.PNG" alt="scrum master"&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%2Fx2qtuptqvxbuz443ovl4.PNG" alt="contribution"&gt;
&lt;/li&gt;
&lt;li&gt;Delhi Tourism&lt;/li&gt;
&lt;li&gt;Awesome JavaScript projects&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The 3 months passed in contributing these 3 projects but there were others projects also on which I contributed and merge my pull request.&lt;br&gt;
The felling when your Pull Request merges is of another level and it encourages you to work more hard and contribute to other communities as well.&lt;/p&gt;

&lt;p&gt;At the end, I only want to say that this was a great learning experience for me. Throughout this wonderful journey, I learnt some new tech stacks, learnt how a community works, and did open source contributions to many communities. I get the guidance of some really great mentors, and connect with many fellow participants.&lt;/p&gt;

&lt;p&gt;Thanks to GirlScript Organisation for giving me such a wonderful opportunity.😊&lt;/p&gt;

&lt;p&gt;And ya... that's my journey, all the GSSOCER'S tell your experience down in the comment and let's grow our community for a good cause😋&lt;br&gt;
Till then!&lt;/p&gt;

&lt;p&gt;Happy Learning!!&lt;/p&gt;

</description>
      <category>git</category>
      <category>github</category>
      <category>webdev</category>
      <category>opensource</category>
    </item>
    <item>
      <title>How to start Open Source Contribution ?</title>
      <dc:creator>Gaurav Maheshwari</dc:creator>
      <pubDate>Mon, 01 Mar 2021 11:07:55 +0000</pubDate>
      <link>https://dev.to/gaurav24072002/how-to-start-open-source-contribution-1ljl</link>
      <guid>https://dev.to/gaurav24072002/how-to-start-open-source-contribution-1ljl</guid>
      <description>&lt;h2&gt;
  
  
  What is Open Source ??
&lt;/h2&gt;

&lt;p&gt;Open Source does not only mean the free(no cost) software but it is those software's in which you can see the large source code , manipulate it , create it according to the organization need.&lt;/p&gt;

&lt;p&gt;You can find sources of many Open Source Software's on &lt;a href="//www.github.com"&gt;GitHub&lt;/a&gt;. I'll talk on it later on this blog.&lt;/p&gt;

&lt;p&gt;A good analogy to open source is "Your food prepared at home is open-sourced, whereas food available outside your home including packaged food is closed-source."&lt;/p&gt;

&lt;h5&gt;
  
  
  What are Open Source Software ?
&lt;/h5&gt;

&lt;p&gt;Open source software is software with source code that anyone can inspect, modify, and enhance.&lt;/p&gt;

&lt;p&gt;"Source code" is the part of software that most computer users don't ever see; it's the code computer programmers can manipulate to change how a piece of software—a "program" or "application"—works. Programmers who have access to a computer program's source code can improve that program by adding features to it or fixing parts that don't always work correctly.&lt;/p&gt;

&lt;p&gt;Some examples of open source software's are : Linux kernel, OpenOffice, Notepad++, VLC Media Player, Python, Ruby, Mozilla Firefox browser, Java , PHP , NVidia, WordPress , JavaScript , Debian ,Drupal , Git(itself)  etc.&lt;/p&gt;

&lt;h3&gt;
  
  
  Pre-requisite knowledge to do Open-Source contribution -
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;GitHub or GitLab (some knowledge like what is PR , commit , issues etc.)&lt;/li&gt;
&lt;li&gt;Git (not mandatory)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And yeh !! you are good to go and contribute in open source....&lt;br&gt;
But it would be better if you have knowledge on one programming language or WebDev.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why to do Open Source ?
&lt;/h2&gt;

&lt;p&gt;Open Source provides us to experience the professional working system in an I.T company and gives us the feel of real life world by interaction through different people in different parts of the world.&lt;br&gt;
It will introduce you to different technology and different languages and taught you the real applications of concept.&lt;/p&gt;

&lt;p&gt;One of the best part of Open Source is that it brings you many Opportunity's to show your skills and many Open Source Programs such as Google Summer of Code(GSOC), Outreachy , Fossasia codeheat, MLH fellowship, Girl Script Summer of Code(GSSOC) etc.&lt;/p&gt;

&lt;h5&gt;
  
  
  My Experience so far :
&lt;/h5&gt;

&lt;p&gt;According to my experience I feel that if you will once connect to any Open Source Community you will never leave it because it is so encouraging , helpful and here everyone is so active so you can ask any one to clear your doubts or help to review your code.&lt;br&gt;
We have no compitation here you can contribute according to your will or can showcase your projects to the whole world to modify it and if your projects are extraordinary you can get great benefits by showcasing it to the open source community because mostly all the companies from small to big are a part of open source.&lt;/p&gt;

&lt;p&gt;So, All The Best for your bright Open source journey 😊      &lt;/p&gt;




&lt;h3&gt;
  
  
  What is GitHub and Git ??
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--j9k_8RI_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.githubassets.com/images/modules/open_graph/github-mark.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--j9k_8RI_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.githubassets.com/images/modules/open_graph/github-mark.png" alt="GitHub"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;GitHub&lt;/strong&gt; - It is a provider of Internet hosting for software development and version control using Git. It offers the distributed version control and source code management (SCM) functionality of Git.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--J4gFBLv5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://www.outsourcing-web.com/wp-content/uploads/2018/09/450_1000.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--J4gFBLv5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://www.outsourcing-web.com/wp-content/uploads/2018/09/450_1000.png" alt="Git"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Git&lt;/strong&gt; - Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.&lt;/p&gt;

&lt;p&gt;Git Bash looks like this -&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--JDcQKL3r--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c5j81vj1zc1zv7le2zon.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--JDcQKL3r--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c5j81vj1zc1zv7le2zon.png" alt="git-17"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I will make another Blog on How to use Git and all the commands required to do open source contribution.&lt;/p&gt;




&lt;h3&gt;
  
  
  Let's start our journey to first commit and pull request -
&lt;/h3&gt;

&lt;p&gt;Before starting lets learn about some basic terminology of GitHub and Git:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Commit&lt;/strong&gt; : In Git, commit is the term used for saving changes. Git does not add changes to a commit automatically. You need to indicate which file and changes need to be saved before running the Git commit command.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pull Request&lt;/strong&gt; : Pull Requests are the heart of collaboration on GitHub. When you open a pull request, you’re proposing your changes and requesting that someone review and pull in your contribution and merge them into their branch. Pull requests show diffs, or differences, of the content from both branches.The changes, additions, and subtractions are shown in green and red.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Repository&lt;/strong&gt; : Project or the folder/place where your project is kept.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pull&lt;/strong&gt; : Get changes from remote repository to your local machine, the opposite to push.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Push&lt;/strong&gt; : Upload Git commits to a remote repository.&lt;/p&gt;

&lt;p&gt;After learning the basics from here you can go to &lt;a href="https://guides.github.com/activities/hello-world/#:~:text=Pull%20Requests%20are%20the%20heart,the%20content%20from%20both%20branches."&gt;GitHub Guides&lt;/a&gt; to learn -&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;How to do create a repository .&lt;/li&gt;
&lt;li&gt;How to create a branch.&lt;/li&gt;
&lt;li&gt;How to do commit.&lt;/li&gt;
&lt;li&gt;How to Open Pull Request.&lt;/li&gt;
&lt;li&gt;How to Merge our Pull Request.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It's a very good website from where I also learned Git and GitHub.&lt;br&gt;
I will also make a blog on the proper use of Git and GitHub but this Blog was to introduce you with Open Source.&lt;/p&gt;

&lt;h3&gt;
  
  
  Thanks for reading ☀️
&lt;/h3&gt;

&lt;h3&gt;
  
  
  You can Contact me Here:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://twitter.com/gaurav79693743"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.linkedin.com/in/gaurav-maheshwari-2a9123168/"&gt;Linkdin&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/gaurav24072002"&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

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