<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>GitHub - TheCodeBuzz</title>
	<atom:link href="https://thecodebuzz.com/category/github/feed/" rel="self" type="application/rss+xml" />
	<link>https://thecodebuzz.com</link>
	<description>Best Practices for Software Development</description>
	<lastBuildDate>Thu, 23 Nov 2023 14:08:09 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://thecodebuzz.com/wp-content/uploads/2022/11/cropped-android-chrome-512x512-1-1-51x51.jpg</url>
	<title>GitHub - TheCodeBuzz</title>
	<link>https://thecodebuzz.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Highlight Bash, shell code in Markdown Readme.md files</title>
		<link>https://thecodebuzz.com/highlight-bash-shell-code-in-markdown-readme-md-wiki-files/</link>
					<comments>https://thecodebuzz.com/highlight-bash-shell-code-in-markdown-readme-md-wiki-files/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sat, 05 Mar 2022 03:19:00 +0000</pubDate>
				<category><![CDATA[ADO]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[GitHub]]></category>
		<category><![CDATA[GitLab]]></category>
		<category><![CDATA[bash md command]]></category>
		<category><![CDATA[github syntax highlighting languages]]></category>
		<category><![CDATA[Highlight Bash]]></category>
		<category><![CDATA[markdown code block]]></category>
		<category><![CDATA[markdown code block python]]></category>
		<category><![CDATA[markdown console highlight]]></category>
		<category><![CDATA[markdown highlight code]]></category>
		<category><![CDATA[markdown syntax highlighting languages]]></category>
		<category><![CDATA[shell code in Markdown Readme.md filesmarkdown shell code block]]></category>
		<guid isPermaLink="false">https://www.thecodebuzz.com/?p=21008</guid>

					<description><![CDATA[<p>Highlight Bash/shell code in Markdown Readme.md files Today in this article, we will see how to Highlight Bash, and shell code in Markdown Readme.md files, or wiki files for Git. Today we will cover below aspects in this article, We shall cover a few useful commands used for various CLI tools like, Command Pattern Below [&#8230;]</p>
<p>The post <a href="https://thecodebuzz.com/highlight-bash-shell-code-in-markdown-readme-md-wiki-files/">Highlight Bash, shell code in Markdown Readme.md files</a> first appeared on <a href="https://thecodebuzz.com">TheCodeBuzz</a>.</p>]]></description>
										<content:encoded><![CDATA[<h1 class="wp-block-heading">Highlight Bash/shell code in Markdown Readme.md files</h1>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="448" height="361" src="https://www.thecodebuzz.com/wp-content/uploads/2022/03/Highlight-Markdown-Readme.md-files-using-Git-1.jpg" alt="Highlight Bash/shell code in Markdown Readme.md files" class="wp-image-21112" srcset="https://thecodebuzz.com/wp-content/uploads/2022/03/Highlight-Markdown-Readme.md-files-using-Git-1.jpg 448w, https://thecodebuzz.com/wp-content/uploads/2022/03/Highlight-Markdown-Readme.md-files-using-Git-1-300x242.jpg 300w" sizes="(max-width: 448px) 100vw, 448px" /></figure>



<p>Today in this article, we will see how to Highlight Bash, and shell code in Markdown Readme.md files, or wiki files for Git.</p>



<p></p>



<p>Today we will cover below aspects in this article,</p>



<p></p>



<div class="wp-block-aioseo-table-of-contents"><ul><li><a href="#aioseo-pattern">Command Pattern</a></li><li><a href="#aioseo-shell---using-console-for-bash-shell-code-in-markdown">Shell &#8211; Using Console for bash/shell code in Markdown</a></li><li><a href="#aioseo-bash---using-bash-shell-command-in-markdown">Bash &#8211; Using Bash/shell command in Markdown</a></li><li><a href="#aioseo-powershell---using-powershell-command-in-markdown">Powershell &#8211; Using the Powershell command in Markdown</a></li><li><a href="#aioseo-using-dos--using-powershell-command-in-markdown">Using DOS- Using Powershell command in Markdown</a></li></ul></div>



<p></p>



<p>We shall cover a few useful commands used for various CLI tools like,</p>



<p></p>



<ul class="wp-block-list">
<li><strong><em>Shell</em></strong></li>



<li><strong><em>Bash</em></strong></li>



<li><strong><em>Powershell</em></strong></li>



<li><strong><em>DOS</em></strong></li>
</ul>



<p></p>



<h2 class="wp-block-heading" id="aioseo-pattern">Command Pattern</h2>



<p></p>



<p>Below is the general pattern for highlighting the code using the language of your choice,</p>



<pre class="wp-block-preformatted">```&lt;Language&gt;

///Your code here 

```


</pre>



<p></p>



<h2 class="wp-block-heading" id="aioseo-shell---using-console-for-bash-shell-code-in-markdown">Shell &#8211; Using Console for bash/shell code in Markdown</h2>



<p></p>



<p>Highlight Bash/shellcode in Markdown files using console commands can be done using below naming pattern,</p>



<p></p>



<p><strong>Example</strong></p>



<p></p>



<pre class="wp-block-preformatted has-medium-font-size">```console

thecodebuzz@DESKTOP-NUEMRRD:~$ sudo service redis-server restart
Stopping redis-server: redis-server.
Starting redis-server: redis-server.



```


</pre>



<p><strong>GitHub preview</strong></p>



<p></p>



<figure class="wp-block-image size-full"><img decoding="async" width="727" height="178" src="https://www.thecodebuzz.com/wp-content/uploads/2022/03/Highlight-Bash-shell-code-in-Markdown-Readme.md-files.jpg" alt="Highlight Bash/shell code in Markdown Readme.md files or wiki files for Git using various CLI tools like Shell, Bash,Powershell, DOS etc

" class="wp-image-21100" srcset="https://thecodebuzz.com/wp-content/uploads/2022/03/Highlight-Bash-shell-code-in-Markdown-Readme.md-files.jpg 727w, https://thecodebuzz.com/wp-content/uploads/2022/03/Highlight-Bash-shell-code-in-Markdown-Readme.md-files-300x73.jpg 300w" sizes="(max-width: 727px) 100vw, 727px" /></figure>



<p>Below is how the preview looks with syntax highlighter in GitHub,</p>



<p></p>



<p></p>



<h2 class="wp-block-heading" id="aioseo-bash---using-bash-shell-command-in-markdown">Bash &#8211; Using Bash/shell command in Markdown </h2>



<p></p>



<p>HighHighlight Bash/shellcode in Markdown files using bash/shell commands as below,</p>



<p></p>



<pre class="wp-block-preformatted has-medium-font-size">```sh

thecodebuzz@DESKTOP-NUEMRRD:~$ sudo service redis-server restart
Stopping redis-server: redis-server.
Starting redis-server: redis-server.

```</pre>



<p>OR</p>



<p></p>



<pre class="wp-block-preformatted has-medium-font-size">```bash

thecodebuzz@DESKTOP-NUEMRRD:~$ sudo service redis-server restart
Stopping redis-server: redis-server.
Starting redis-server: redis-server.

```</pre>



<p></p>



<figure class="wp-block-image size-full"><img decoding="async" width="791" height="200" src="https://www.thecodebuzz.com/wp-content/uploads/2022/03/Highlight-Markdown-Readme.md-files-using-Bash-shell-code.jpg" alt="Highlight Bash/shell code in Markdown Readme.md files or wiki files for Git using various CLI tools like Shell, Bash,Powershell, DOS etc

" class="wp-image-21101" srcset="https://thecodebuzz.com/wp-content/uploads/2022/03/Highlight-Markdown-Readme.md-files-using-Bash-shell-code.jpg 791w, https://thecodebuzz.com/wp-content/uploads/2022/03/Highlight-Markdown-Readme.md-files-using-Bash-shell-code-300x76.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2022/03/Highlight-Markdown-Readme.md-files-using-Bash-shell-code-768x194.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2022/03/Highlight-Markdown-Readme.md-files-using-Bash-shell-code-785x198.jpg 785w" sizes="(max-width: 791px) 100vw, 791px" /></figure>



<p></p>



<p></p>



<h2 class="wp-block-heading" id="aioseo-powershell---using-powershell-command-in-markdown"> Powershell &#8211; Using the Powershell command in Markdown  </h2>



<p></p>



<p>We can also Highlight Bash/shellcode in Markdown files using PowerShell commands as below, </p>



<p></p>



<pre class="wp-block-preformatted has-medium-font-size">```powershell

thecodebuzz@DESKTOP-NUEMRRD:~$ sudo service redis-server restart
Stopping redis-server: redis-server.
Starting redis-server: redis-server.

```
</pre>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="792" height="197" src="https://www.thecodebuzz.com/wp-content/uploads/2022/03/Highlight-Markdown-Readme.md-files-using-Powershell-code.jpg" alt="Using Powershell command in Markdown readme me md" class="wp-image-21103" srcset="https://thecodebuzz.com/wp-content/uploads/2022/03/Highlight-Markdown-Readme.md-files-using-Powershell-code.jpg 792w, https://thecodebuzz.com/wp-content/uploads/2022/03/Highlight-Markdown-Readme.md-files-using-Powershell-code-300x75.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2022/03/Highlight-Markdown-Readme.md-files-using-Powershell-code-768x191.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2022/03/Highlight-Markdown-Readme.md-files-using-Powershell-code-785x195.jpg 785w" sizes="auto, (max-width: 792px) 100vw, 792px" /></figure>



<p></p>



<p></p>



<h2 class="wp-block-heading" id="aioseo-using-dos--using-powershell-command-in-markdown">Using DOS- Using Powershell command in Markdown </h2>



<p></p>



<p>We can use DOS commands like <em><strong>dos, bat, cmd</strong></em></p>



<p></p>



<p>Example </p>



<pre class="wp-block-preformatted">```bat

thecodebuzz@DESKTOP-NUEMRRD:~$ sudo service redis-server restart
Stopping redis-server: redis-server.
Starting redis-server: redis-server.

```




```cmd

thecodebuzz@DESKTOP-NUEMRRD:~$ sudo service redis-server restart
Stopping redis-server: redis-server.
Starting redis-server: redis-server.

```




```DOS

thecodebuzz@DESKTOP-NUEMRRD:~$ sudo service redis-server restart
Stopping redis-server: redis-server.
Starting redis-server: redis-server.

```


</pre>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="784" height="195" src="https://www.thecodebuzz.com/wp-content/uploads/2022/03/Highlight-Markdown-Readme.md-files-using-DOS-commands-like-dos-bat-cmd.jpg" alt="Highlight Bash, shell code in Markdown Readme.md files" class="wp-image-21107" srcset="https://thecodebuzz.com/wp-content/uploads/2022/03/Highlight-Markdown-Readme.md-files-using-DOS-commands-like-dos-bat-cmd.jpg 784w, https://thecodebuzz.com/wp-content/uploads/2022/03/Highlight-Markdown-Readme.md-files-using-DOS-commands-like-dos-bat-cmd-300x75.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2022/03/Highlight-Markdown-Readme.md-files-using-DOS-commands-like-dos-bat-cmd-768x191.jpg 768w" sizes="auto, (max-width: 784px) 100vw, 784px" /></figure>



<p></p>



<p>That&#8217;s All,</p>



<p></p>



<p><strong><em>References:  </em></strong></p>



<p></p>



<ul class="wp-block-list">
<li><strong><em> <a href="https://www.thecodebuzz.com/add-images-to-readme-md-github-azure/" target="_blank" rel="noreferrer noopener" title="Add images to README Git – Guidelines">Add images to README Git – Guideline</a></em></strong></li>
</ul>



<ul class="wp-block-list">
<li><a href="https://www.thecodebuzz.com/cherry-pick-in-github-step-by-step/" target="_blank" rel="noreferrer noopener" title="Cherry-Pick in Git for Trunk Based Development"><em><strong>Chery pick in Git with example </strong></em></a></li>
</ul>



<p></p>



<p></p>



<p></p>



<p style="font-size:18px">Do you have any <strong>comments or ideas or any better </strong>suggestions to share?</p>



<p class="has-small-font-size"></p>



<p style="font-size:18px">Please sound off your comments below.</p>



<p class="has-medium-font-size"></p>



<p class="has-medium-font-size"><strong>Happy Coding </strong>!!</p>



<p></p>



<p></p>



<hr>



<p class=""></p>



<p class="has-background" style="background-color:#b6d9ac;font-size:18px"><br>Please <strong><em>bookmark </em></strong>this page and <em><strong>share </strong></em>it with your friends.                                                    Please <a href="https://www.thecodebuzz.com/subscription/" target="_blank" rel="noreferrer noopener"><em><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-luminous-vivid-orange-color"><strong>Subscribe</strong> </mark></em></a>to the blog to receive notifications on freshly published (2025) best practices and guidelines for software design and development.</p>




<br>



<hr>



<p class=""></p>



<p></p><p>The post <a href="https://thecodebuzz.com/highlight-bash-shell-code-in-markdown-readme-md-wiki-files/">Highlight Bash, shell code in Markdown Readme.md files</a> first appeared on <a href="https://thecodebuzz.com">TheCodeBuzz</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://thecodebuzz.com/highlight-bash-shell-code-in-markdown-readme-md-wiki-files/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>GitHub Security alerts on Vulnerabilities</title>
		<link>https://thecodebuzz.com/github-security-alerts-on-vulnerabilities/</link>
					<comments>https://thecodebuzz.com/github-security-alerts-on-vulnerabilities/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 01 Mar 2022 00:00:00 +0000</pubDate>
				<category><![CDATA[GitHub]]></category>
		<category><![CDATA[add a dependabot alerts in your github]]></category>
		<category><![CDATA[dependabot alerts api]]></category>
		<category><![CDATA[dependabot alerts fix]]></category>
		<category><![CDATA[dependabot alerts in github]]></category>
		<category><![CDATA[dependabot security updates]]></category>
		<category><![CDATA[github enable security alerts]]></category>
		<category><![CDATA[github security advisories]]></category>
		<category><![CDATA[github security alerts api]]></category>
		<category><![CDATA[GitHub Security alerts on Vulnerabilities]]></category>
		<category><![CDATA[github security scanning]]></category>
		<category><![CDATA[github vulnerability alerts api]]></category>
		<category><![CDATA[how to check vulnerabilities in github]]></category>
		<category><![CDATA[how to fix github dependabot alerts]]></category>
		<category><![CDATA[OpenSource GitHub security]]></category>
		<category><![CDATA[we found potential security vulnerabilities in your dependencies. github]]></category>
		<guid isPermaLink="false">https://thecodebuzz.com/?p=4598</guid>

					<description><![CDATA[<p>GitHub Security alerts on Vulnerabilities Today in this article we will how to set up GitHub Security alerts on Vulnerabilities. The world of OpenSource solution and the common problem of vulnerabilities, both goes hand in hand. GitHub has finally introduced a great new feature of discovering and notifying of new vulnerabilities. Today in this article, [&#8230;]</p>
<p>The post <a href="https://thecodebuzz.com/github-security-alerts-on-vulnerabilities/">GitHub Security alerts on Vulnerabilities</a> first appeared on <a href="https://thecodebuzz.com">TheCodeBuzz</a>.</p>]]></description>
										<content:encoded><![CDATA[<h1 class="wp-block-heading">GitHub Security alerts on Vulnerabilities</h1>



<figure class="wp-block-image is-resized"><img loading="lazy" decoding="async" src="https://i2.wp.com/thecodebuzz.com/wp-content/uploads/2019/07/security-mail-alerts-notification-github-2-1.jpg?fit=785%2C391&amp;ssl=1" alt="GitHub feature - Security alerts on Vulnerabilities" class="wp-image-4634" width="506" height="251" srcset="https://thecodebuzz.com/wp-content/uploads/2019/07/security-mail-alerts-notification-github-2-1.jpg 1097w, https://thecodebuzz.com/wp-content/uploads/2019/07/security-mail-alerts-notification-github-2-1-300x149.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2019/07/security-mail-alerts-notification-github-2-1-1024x510.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2019/07/security-mail-alerts-notification-github-2-1-768x382.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2019/07/security-mail-alerts-notification-github-2-1-785x391.jpg 785w" sizes="auto, (max-width: 506px) 100vw, 506px" /></figure>



<p>Today in this article we will how to set up GitHub Security alerts on Vulnerabilities. The world of OpenSource solution and the common problem of vulnerabilities, both goes hand in hand. </p>



<p>GitHub has finally introduced a great new feature of discovering and notifying of new vulnerabilities.</p>



<p>Today in this article, we will cover below aspects,</p>



<div class="wp-block-aioseo-table-of-contents"><ul><li><a href="#how-to-start-using-security-alerts">How to Configure security alerts</a></li><li><a href="#aioseo-public-repository">Public Repository</a></li><li><a href="#aioseo-private-repository">Private Repository</a></li><li><a href="#aioseo-setting-notification-preferences">Setting Notification preferences</a></li><li><a href="#aioseo-automated-security-fix-in-github">Automated Security Fix in GitHub</a></li><li><a href="#aioseo-summary">Summary</a></li></ul></div>



<p>GitHub will identify such a repository that uses vulnerable dependency and will send alerts to repository maintainer and also will provide an automated fix ( if opted). </p>



<p>Here is an example of a typical Security alerts notification will look like as below. This is one of my repositories which got fagged for the vulnerable node.js library.</p>



<p></p>



<figure class="wp-block-image is-resized"><img loading="lazy" decoding="async" src="https://i1.wp.com/thecodebuzz.com/wp-content/uploads/2019/07/security-mail-alerts-notification-github.jpg?fit=785%2C422&amp;ssl=1" alt="GitHub feature - Security alerts on Vulnerabilities" class="wp-image-4625" width="510" height="275" srcset="https://thecodebuzz.com/wp-content/uploads/2019/07/security-mail-alerts-notification-github.jpg 1717w, https://thecodebuzz.com/wp-content/uploads/2019/07/security-mail-alerts-notification-github-300x161.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2019/07/security-mail-alerts-notification-github-1024x551.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2019/07/security-mail-alerts-notification-github-768x413.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2019/07/security-mail-alerts-notification-github-1536x827.jpg 1536w, https://thecodebuzz.com/wp-content/uploads/2019/07/security-mail-alerts-notification-github-785x422.jpg 785w" sizes="auto, (max-width: 510px) 100vw, 510px" /></figure>



<p></p>



<h2 class="wp-block-heading" id="how-to-start-using-security-alerts">How to Configure security alerts</h2>



<p></p>



<h2 class="wp-block-heading" id="aioseo-public-repository">Public Repository</h2>



<p></p>



<p>Github will provide default alerts to all public repositories. So you get these features out of the box. Github will enable a scan of your dependencies and will update you for any vulnerabilities.</p>



<p></p>



<h2 class="wp-block-heading" id="aioseo-private-repository">Private Repository</h2>



<p></p>



<p>For GitHub private repositories security alerts can be enabled by using an opt-in feature.</p>



<p></p>



<p>You should explicitly enable this feature using the below options,</p>



<ul class="wp-block-list"><li>Using the repository settings </li></ul>



<figure class="wp-block-image is-resized"><img loading="lazy" decoding="async" src="https://i2.wp.com/thecodebuzz.com/wp-content/uploads/2019/07/security-alerts-notification-github.jpg?fit=785%2C376&amp;ssl=1" alt="" class="wp-image-4621" width="545" height="261" srcset="https://thecodebuzz.com/wp-content/uploads/2019/07/security-alerts-notification-github.jpg 1925w, https://thecodebuzz.com/wp-content/uploads/2019/07/security-alerts-notification-github-300x144.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2019/07/security-alerts-notification-github-1024x492.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2019/07/security-alerts-notification-github-768x369.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2019/07/security-alerts-notification-github-1536x737.jpg 1536w, https://thecodebuzz.com/wp-content/uploads/2019/07/security-alerts-notification-github-785x377.jpg 785w" sizes="auto, (max-width: 545px) 100vw, 545px" /></figure>



<p>Enabling Dependency graph</p>



<figure class="wp-block-image is-resized"><img loading="lazy" decoding="async" src="https://i0.wp.com/thecodebuzz.com/wp-content/uploads/2019/07/dependency-graph-github.jpg?fit=785%2C377&amp;ssl=1" alt="GitHub Security alerts on Vulnerabilities" class="wp-image-4619" width="486" height="233" srcset="https://thecodebuzz.com/wp-content/uploads/2019/07/dependency-graph-github.jpg 1924w, https://thecodebuzz.com/wp-content/uploads/2019/07/dependency-graph-github-300x144.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2019/07/dependency-graph-github-1024x492.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2019/07/dependency-graph-github-768x369.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2019/07/dependency-graph-github-1536x738.jpg 1536w, https://thecodebuzz.com/wp-content/uploads/2019/07/dependency-graph-github-785x377.jpg 785w" sizes="auto, (max-width: 486px) 100vw, 486px" /></figure>



<p></p>



<h2 class="wp-block-heading" id="aioseo-setting-notification-preferences">Setting Notification preferences</h2>



<p></p>



<p>If you select Automated security fixes as ON, then GitHub will apply the security fixes and will send you pull request with fixes applied. </p>



<p></p>



<p>Notification alerts will list issues with severity details as below,</p>



<p></p>



<figure class="wp-block-image is-resized"><img loading="lazy" decoding="async" src="https://i0.wp.com/thecodebuzz.com/wp-content/uploads/2019/07/Capture1.jpg?fit=785%2C384&amp;ssl=1" alt="" class="wp-image-4600" width="547" height="267" srcset="https://thecodebuzz.com/wp-content/uploads/2019/07/Capture1.jpg 1659w, https://thecodebuzz.com/wp-content/uploads/2019/07/Capture1-300x147.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2019/07/Capture1-1024x501.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2019/07/Capture1-768x376.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2019/07/Capture1-1536x752.jpg 1536w, https://thecodebuzz.com/wp-content/uploads/2019/07/Capture1-785x384.jpg 785w" sizes="auto, (max-width: 547px) 100vw, 547px" /></figure>



<p></p>



<p>Once the dependency graph is enabled, Admin, teams, and individuals will start receiving security alerts in the dependency graph settings.</p>



<p></p>



<p></p>


<p><img loading="lazy" decoding="async" class="wp-image-4603" src="https://i0.wp.com/thecodebuzz.com/wp-content/uploads/2019/07/Capture5.jpg?fit=785%2C283&amp;ssl=1" alt="" width="433" height="156" srcset="https://thecodebuzz.com/wp-content/uploads/2019/07/Capture5.jpg 1352w, https://thecodebuzz.com/wp-content/uploads/2019/07/Capture5-300x108.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2019/07/Capture5-1024x369.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2019/07/Capture5-768x277.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2019/07/Capture5-785x283.jpg 785w" sizes="auto, (max-width: 433px) 100vw, 433px" /></p>


<p></p>



<h2 class="wp-block-heading" id="aioseo-automated-security-fix-in-github">Automated Security Fix in GitHub</h2>



<p></p>



<p>&#8220;<strong>Automated security fixes</strong>&#8221;  option if opted will generate an automated fix for the vulnerable library.</p>



<p></p>



<figure class="wp-block-image is-resized"><img loading="lazy" decoding="async" src="https://i2.wp.com/thecodebuzz.com/wp-content/uploads/2019/07/Capture4-1.jpg?fit=785%2C64&amp;ssl=1" alt="" class="wp-image-4633" width="489" height="39" srcset="https://thecodebuzz.com/wp-content/uploads/2019/07/Capture4-1.jpg 1806w, https://thecodebuzz.com/wp-content/uploads/2019/07/Capture4-1-300x25.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2019/07/Capture4-1-1024x84.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2019/07/Capture4-1-768x63.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2019/07/Capture4-1-1536x127.jpg 1536w, https://thecodebuzz.com/wp-content/uploads/2019/07/Capture4-1-785x65.jpg 785w" sizes="auto, (max-width: 489px) 100vw, 489px" /></figure>



<p>Here below shows the fix that will be applied,</p>



<figure class="wp-block-image is-resized"><img loading="lazy" decoding="async" src="https://i1.wp.com/thecodebuzz.com/wp-content/uploads/2019/07/security-mail-alerts-notification-github-1.jpg?fit=785%2C537&amp;ssl=1" alt="" class="wp-image-4627" width="472" height="324" srcset="https://thecodebuzz.com/wp-content/uploads/2019/07/security-mail-alerts-notification-github-1.jpg 1330w, https://thecodebuzz.com/wp-content/uploads/2019/07/security-mail-alerts-notification-github-1-300x205.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2019/07/security-mail-alerts-notification-github-1-1024x701.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2019/07/security-mail-alerts-notification-github-1-768x526.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2019/07/security-mail-alerts-notification-github-1-759x520.jpg 759w" sizes="auto, (max-width: 472px) 100vw, 472px" /></figure>



<p></p>



<p>As shown below bot with the name &#8220;<strong>dependabot</strong>&#8221; will send you a pull request with suggested security fixes for your review.</p>



<p></p>



<p>The below <strong>suggestion </strong>is to upgrade loadash node.js library from version <strong>4.17.11</strong> to <strong>4.17.14</strong></p>



<p></p>



<figure class="wp-block-image is-resized wp-image-4604"><img loading="lazy" decoding="async" src="https://i2.wp.com/thecodebuzz.com/wp-content/uploads/2019/07/Capture7.jpg?fit=785%2C662&amp;ssl=1" alt="" class="wp-image-4604" width="422" height="356" srcset="https://thecodebuzz.com/wp-content/uploads/2019/07/Capture7.jpg 1095w, https://thecodebuzz.com/wp-content/uploads/2019/07/Capture7-300x253.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2019/07/Capture7-1024x864.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2019/07/Capture7-768x648.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2019/07/Capture7-616x520.jpg 616w" sizes="auto, (max-width: 422px) 100vw, 422px" /></figure>



<p><strong>Review </strong>the pull request and <strong>merge </strong>the changes. </p>



<figure class="wp-block-image is-resized wp-image-4607"><img loading="lazy" decoding="async" src="https://i2.wp.com/thecodebuzz.com/wp-content/uploads/2019/07/Capture9.jpg?fit=785%2C479&amp;ssl=1" alt="" class="wp-image-4607" width="430" height="261" srcset="https://thecodebuzz.com/wp-content/uploads/2019/07/Capture9.jpg 1028w, https://thecodebuzz.com/wp-content/uploads/2019/07/Capture9-300x183.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2019/07/Capture9-1024x625.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2019/07/Capture9-768x468.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2019/07/Capture9-785x479.jpg 785w" sizes="auto, (max-width: 430px) 100vw, 430px" /></figure>



<p>Here are the code changes that will be applied. You shall be able to review these changes and changes will be merged into the target branch.</p>



<p></p>



<figure class="wp-block-image is-resized"><img loading="lazy" decoding="async" src="https://i2.wp.com/thecodebuzz.com/wp-content/uploads/2019/07/image-8.png?fit=785%2C481&amp;ssl=1" alt="" class="wp-image-4628" width="510" height="312" srcset="https://thecodebuzz.com/wp-content/uploads/2019/07/image-8.png 2194w, https://thecodebuzz.com/wp-content/uploads/2019/07/image-8-300x184.png 300w, https://thecodebuzz.com/wp-content/uploads/2019/07/image-8-1024x628.png 1024w, https://thecodebuzz.com/wp-content/uploads/2019/07/image-8-768x471.png 768w, https://thecodebuzz.com/wp-content/uploads/2019/07/image-8-1536x942.png 1536w, https://thecodebuzz.com/wp-content/uploads/2019/07/image-8-2048x1256.png 2048w, https://thecodebuzz.com/wp-content/uploads/2019/07/image-8-785x482.png 785w" sizes="auto, (max-width: 510px) 100vw, 510px" /></figure>



<p></p>



<p>Finally, your repository will be remediated for the vulnerabilities without any hassle.</p>



<p>That&#8217;s All!!</p>



<p></p>



<p><strong>References:- </strong></p>



<p></p>



<ul class="has-medium-font-size wp-block-list"><li><a href="https://www.thecodebuzz.com/cherry-pick-in-github-step-by-step/" target="_blank" rel="noreferrer noopener" title="Cherry-Pick in Git for Trunk Based Development"><em>Cherry-Pick in Git for Trunk Based Development</em></a></li></ul>



<p></p>



<p></p>



<p style="font-size:18px">Do you have any <strong>comments or ideas or any better </strong>suggestions to share?</p>



<p class="has-small-font-size"></p>



<p style="font-size:18px">Please sound off your comments below.</p>



<p class="has-medium-font-size"></p>



<p class="has-medium-font-size"><strong>Happy Coding </strong>!!</p>



<p></p>



<p></p>



<h2 class="wp-block-heading" id="aioseo-summary">Summary </h2>



<p></p>



<p>GitHub has introduced a great new feature of discovering and notifying of new vulnerabilities. This feature is available for both public and private Repositories. GitHub will help to identify such a repository that uses vulnerable dependency and will send alerts to repository maintainer and also will provide an automated fix ( if opted).</p>



<p></p>



<p></p>



<hr>



<p class=""></p>



<p class="has-background" style="background-color:#b6d9ac;font-size:18px"><br>Please <strong><em>bookmark </em></strong>this page and <em><strong>share </strong></em>it with your friends.                                                    Please <a href="https://www.thecodebuzz.com/subscription/" target="_blank" rel="noreferrer noopener"><em><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-luminous-vivid-orange-color"><strong>Subscribe</strong> </mark></em></a>to the blog to receive notifications on freshly published (2025) best practices and guidelines for software design and development.</p>




<br>



<hr>



<p class=""></p><p>The post <a href="https://thecodebuzz.com/github-security-alerts-on-vulnerabilities/">GitHub Security alerts on Vulnerabilities</a> first appeared on <a href="https://thecodebuzz.com">TheCodeBuzz</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://thecodebuzz.com/github-security-alerts-on-vulnerabilities/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Add JSON to Git Readme markup file</title>
		<link>https://thecodebuzz.com/add-json-git-readme-markup-file-github-gitlab-bitbucket/</link>
					<comments>https://thecodebuzz.com/add-json-git-readme-markup-file-github-gitlab-bitbucket/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 21 Feb 2022 00:37:00 +0000</pubDate>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[GitHub]]></category>
		<category><![CDATA[GitLab]]></category>
		<category><![CDATA[github json markdown]]></category>
		<category><![CDATA[github markdown json with comments]]></category>
		<category><![CDATA[How to Add JSON to Git Readme markup file]]></category>
		<category><![CDATA[json to markdown]]></category>
		<category><![CDATA[json to markdown online]]></category>
		<category><![CDATA[markdown code block json]]></category>
		<category><![CDATA[markdown include json file]]></category>
		<category><![CDATA[markdown json in table]]></category>
		<category><![CDATA[markdown json pretty]]></category>
		<guid isPermaLink="false">https://www.thecodebuzz.com/?p=20954</guid>

					<description><![CDATA[<p>Add JSON block to Git Readme file Wiki pages Today in this article we will see How to Add JSON to Git Readme markup and style the JSON block. Today in this article, we will cover below aspects, JSON can be embedded in the markup readme file using multiple ways. Below we will see a [&#8230;]</p>
<p>The post <a href="https://thecodebuzz.com/add-json-git-readme-markup-file-github-gitlab-bitbucket/">How to Add JSON to Git Readme markup file</a> first appeared on <a href="https://thecodebuzz.com">TheCodeBuzz</a>.</p>]]></description>
										<content:encoded><![CDATA[<h1 class="wp-block-heading">Add JSON block to Git Readme file Wiki pages</h1>



<p>Today in this article we will see How to Add JSON to Git Readme markup and style the JSON block.</p>



<p></p>



<p>Today in this article, we will cover below aspects,</p>



<p></p>



<div class="wp-block-aioseo-table-of-contents"><ul><li><a href="#aioseo-add-json-to-git-readme">Add JSON to Git Readme</a></li><li><a href="#aioseo-syntax">Syntax</a></li><li><a href="#aioseo-example">Example</a></li></ul></div>



<p></p>



<p>JSON can be embedded in the markup readme file using multiple ways. Below we will see a few simple approaches to adding JSON to <strong><em>readme.md</em></strong> file</p>



<p></p>



<h2 class="wp-block-heading" id="aioseo-add-json-to-git-readme">Add JSON to Git Readme</h2>



<p></p>



<h2 class="wp-block-heading" id="aioseo-syntax">Syntax</h2>



<p></p>



<pre class="wp-block-preformatted has-medium-font-size"><strong>```json

</strong>Your JSON here<strong>

```</strong></pre>



<p></p>



<h2 class="wp-block-heading" id="aioseo-example"><strong>Example</strong></h2>



<p></p>



<p>Below is a sample example,</p>



<p></p>



<pre class="wp-block-preformatted has-medium-font-size">```json

{

  "Customer": {
    "CustomerKeyurl": "http://customer-dev/key",
    "CustomerdetailsUrl": "http://customer-dev/id",
    "Agency": {
      "AgencyID": "subvalue1_from_json",
      "AccountKey": 200
    },
    "Agencies": [
      "Agency1",
      "Agency2",
      "Agency4",
      "Agency5",
      "Agency6"
    ]
  }
}

```</pre>



<p></p>



<p>Below is how the final JSON looks like in the Git used with ADO, GitHub, or GitLab</p>



<p></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="589" src="https://www.thecodebuzz.com/wp-content/uploads/2022/03/how-to-style-a-json-block-in-github-wiki-ado-bitbucket-gitlab-1024x589.jpg" alt="Add JSON style to Git Readme markup,add-json-git-readme-markup-file-github-gitlab-bitbucket" class="wp-image-21000" srcset="https://thecodebuzz.com/wp-content/uploads/2022/03/how-to-style-a-json-block-in-github-wiki-ado-bitbucket-gitlab-1024x589.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2022/03/how-to-style-a-json-block-in-github-wiki-ado-bitbucket-gitlab-300x173.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2022/03/how-to-style-a-json-block-in-github-wiki-ado-bitbucket-gitlab-768x442.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2022/03/how-to-style-a-json-block-in-github-wiki-ado-bitbucket-gitlab-785x452.jpg 785w, https://thecodebuzz.com/wp-content/uploads/2022/03/how-to-style-a-json-block-in-github-wiki-ado-bitbucket-gitlab.jpg 1303w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<p><strong><em>References </em></strong>:</p>



<p></p>



<ul class="wp-block-list">
<li><em><a href="https://www.thecodebuzz.com/add-images-to-readme-md-github-azure/" target="_blank" rel="noreferrer noopener">Add images to README Git &#8211; Guidelines</a></em></li>
</ul>



<p></p>



<p></p>



<p style="font-size:18px">Do you have any <strong>comments or ideas or any better </strong>suggestions to share?</p>



<p class="has-small-font-size"></p>



<p style="font-size:18px">Please sound off your comments below.</p>



<p class="has-medium-font-size"></p>



<p class="has-medium-font-size"><strong>Happy Coding </strong>!!</p>



<p></p>



<hr>



<p class=""></p>



<p class="has-background" style="background-color:#b6d9ac;font-size:18px"><br>Please <strong><em>bookmark </em></strong>this page and <em><strong>share </strong></em>it with your friends.                                                    Please <a href="https://www.thecodebuzz.com/subscription/" target="_blank" rel="noreferrer noopener"><em><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-luminous-vivid-orange-color"><strong>Subscribe</strong> </mark></em></a>to the blog to receive notifications on freshly published (2025) best practices and guidelines for software design and development.</p>




<br>



<hr>



<p class=""></p>



<p></p><p>The post <a href="https://thecodebuzz.com/add-json-git-readme-markup-file-github-gitlab-bitbucket/">How to Add JSON to Git Readme markup file</a> first appeared on <a href="https://thecodebuzz.com">TheCodeBuzz</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://thecodebuzz.com/add-json-git-readme-markup-file-github-gitlab-bitbucket/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Resolved:&#8217;git&#8217; is  not recognized as an internal or external command</title>
		<link>https://thecodebuzz.com/git-is-not-recognized-as-an-internal-or-external-command/</link>
					<comments>https://thecodebuzz.com/git-is-not-recognized-as-an-internal-or-external-command/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 30 Sep 2021 17:00:00 +0000</pubDate>
				<category><![CDATA[GitHub]]></category>
		<category><![CDATA[git command not found linux]]></category>
		<category><![CDATA[git for windows]]></category>
		<category><![CDATA[git' is not recognized as an internal or external command android studio]]></category>
		<category><![CDATA[git' is not recognized as an internal or external command angular cli]]></category>
		<category><![CDATA[git' is not recognized as an internal or external command in jenkins]]></category>
		<category><![CDATA[install git]]></category>
		<category><![CDATA[install git in cmd]]></category>
		<category><![CDATA[install git on windows]]></category>
		<category><![CDATA[install git on windows 10]]></category>
		<category><![CDATA[install git windows]]></category>
		<category><![CDATA[the term 'git' is not recognized as the name of a cmdlet visual studio code]]></category>
		<guid isPermaLink="false">https://www.thecodebuzz.com/?p=18976</guid>

					<description><![CDATA[<p>&#8216;git&#8217; is not recognized as an internal or external Today in this article, we will cover below aspects, Issue Description git command line/CLI command gives below error, &#8216;git&#8217; is not recognized as an internal or external command, operable program or batch file. This issue I found to be due to not setting up the proper [&#8230;]</p>
<p>The post <a href="https://thecodebuzz.com/git-is-not-recognized-as-an-internal-or-external-command/">Resolved:’git’ is  not recognized as an internal or external command</a> first appeared on <a href="https://thecodebuzz.com">TheCodeBuzz</a>.</p>]]></description>
										<content:encoded><![CDATA[<h1 class="wp-block-heading"><strong>&#8216;git&#8217; is not recognized as an internal or external</strong></h1>



<p>Today in this article, we will cover below aspects,</p>



<div class="wp-block-aioseo-table-of-contents"><ul><li><a href="#aioseo-issue-description">Issue Description</a></li><li><a href="#aioseo-resolution">Resolution</a></li></ul></div>



<h2 class="wp-block-heading" id="aioseo-issue-description">Issue Description</h2>



<p></p>



<p>git command line/CLI command gives below error,</p>



<p></p>



<p class="has-background" style="background-color:#e5e6e7"><span class="has-inline-color has-vivid-red-color">&#8216;git&#8217; is not recognized as an internal or external command, operable program or batch file. </span></p>



<p></p>



<p></p>



<p>This issue I found to be due to not setting up the proper environment variable on a machine where you already have installed the <strong>GIT </strong>component.</p>



<p></p>



<p>You might get the <strong>GIT </strong>component installed on your computer either using an external download or using IDE tools with Visual studio or VS code or other IDE.</p>



<p></p>



<p>Please note that this behavior could occur differently if you are using other vendors services leveraging <strong>GIT exe</strong> (which is an open-source utility) like <strong>GitHub lab or BitBucket </strong>while installing such services are you were your desktop applications.</p>



<p></p>



<h2 class="wp-block-heading" id="aioseo-resolution">Resolution</h2>



<p></p>



<p>On a <strong>Windows machine,</strong> you need to set up a GIT-related environment variable.</p>



<p></p>



<p>Please follow below high-level steps required for you to fix the issue.</p>



<p></p>



<ul class="wp-block-list"><li>Install GIT CLI utility, if not done so already .</li></ul>



<p></p>



<ul class="wp-block-list"><li>Check the file path for GIT installtion </li></ul>



<p></p>



<p>Usually, GIT exe will be available in the below location,</p>



<p></p>



<pre class="wp-block-preformatted has-medium-font-size">C:\Program Files\Git\bin</pre>



<p>Or</p>



<pre class="wp-block-preformatted has-medium-font-size">C:\Program Files\Git\cmd
</pre>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" decoding="async" src="https://www.thecodebuzz.com/wp-content/uploads/2021/11/git-is-not-recognized-as-an-internal-or-external-1024x583.jpg" alt="'git' is not recognized as an internal or external command, operable program or batch file. " class="wp-image-18992" width="652" height="371" srcset="https://thecodebuzz.com/wp-content/uploads/2021/11/git-is-not-recognized-as-an-internal-or-external-1024x583.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2021/11/git-is-not-recognized-as-an-internal-or-external-300x171.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2021/11/git-is-not-recognized-as-an-internal-or-external-768x437.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2021/11/git-is-not-recognized-as-an-internal-or-external-1536x875.jpg 1536w, https://thecodebuzz.com/wp-content/uploads/2021/11/git-is-not-recognized-as-an-internal-or-external-785x447.jpg 785w, https://thecodebuzz.com/wp-content/uploads/2021/11/git-is-not-recognized-as-an-internal-or-external.jpg 1552w" sizes="auto, (max-width: 652px) 100vw, 652px" /></figure>



<p></p>



<p></p>



<ul class="wp-block-list"><li>Update System environment variable for any of the above paths,</li></ul>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" decoding="async" src="https://www.thecodebuzz.com/wp-content/uploads/2021/11/git-is-not-recognized-as-an-internal-or-external-command-2-1024x603.jpg" alt="git is not recognized as an internal " class="wp-image-19010" width="660" height="388" srcset="https://thecodebuzz.com/wp-content/uploads/2021/11/git-is-not-recognized-as-an-internal-or-external-command-2-1024x603.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2021/11/git-is-not-recognized-as-an-internal-or-external-command-2-300x177.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2021/11/git-is-not-recognized-as-an-internal-or-external-command-2-768x453.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2021/11/git-is-not-recognized-as-an-internal-or-external-command-2-1536x905.jpg 1536w, https://thecodebuzz.com/wp-content/uploads/2021/11/git-is-not-recognized-as-an-internal-or-external-command-2-785x463.jpg 785w, https://thecodebuzz.com/wp-content/uploads/2021/11/git-is-not-recognized-as-an-internal-or-external-command-2.jpg 2023w" sizes="auto, (max-width: 660px) 100vw, 660px" /></figure>



<p></p>



<p><strong>Note</strong>: To make the variable effective, Please close any existing <strong>CMD </strong>or <strong>Bash</strong> shell window.</p>



<p></p>



<p><strong><em>Alternatively</em></strong>,</p>



<p></p>



<p>If you are using <strong><em>GitHub </em></strong>tools like desktop or services then you may find the <strong>GIT</strong> exe below location. </p>



<p></p>



<p>Below is an Approximate path only,</p>



<p></p>



<pre class="wp-block-preformatted has-medium-font-size">C:\Users\&lt;your name&gt;\AppData\Local\GitHub\PortableGit_&lt;id&gt;/cmd&nbsp;</pre>



<p></p>



<p>You can set a similar above path as an environment variable to fix the issue.</p>



<p></p>



<p></p>



<p><strong>References </strong>: </p>



<p></p>



<ul class="wp-block-list"><li><a href="https://www.thecodebuzz.com/cherry-pick-in-git-azure-devops-gitlab-github/" title="Cherry Pick in Git – Guidelines" target="_blank" rel="noreferrer noopener"><strong><em>Cherry Pick in Git – Guidelines</em></strong></a></li></ul>



<p></p>



<p>Did I miss anything else in these resolution steps?</p>



<p>Did the above steps resolve your issue? Please sound off your comments below!</p>



<p>Happy Coding !!</p>



<hr>



<p class=""></p>



<p class="has-background" style="background-color:#b6d9ac;font-size:18px"><br>Please <strong><em>bookmark </em></strong>this page and <em><strong>share </strong></em>it with your friends.                                                    Please <a href="https://www.thecodebuzz.com/subscription/" target="_blank" rel="noreferrer noopener"><em><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-luminous-vivid-orange-color"><strong>Subscribe</strong> </mark></em></a>to the blog to receive notifications on freshly published (2025) best practices and guidelines for software design and development.</p>




<br>



<hr>



<p class=""></p>



<p></p>



<p></p>



<p></p><p>The post <a href="https://thecodebuzz.com/git-is-not-recognized-as-an-internal-or-external-command/">Resolved:’git’ is  not recognized as an internal or external command</a> first appeared on <a href="https://thecodebuzz.com">TheCodeBuzz</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://thecodebuzz.com/git-is-not-recognized-as-an-internal-or-external-command/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Display Table in README.md file and format in Git -Guidelines</title>
		<link>https://thecodebuzz.com/display-table-readme-md-file-git-github-markup-format-table/</link>
					<comments>https://thecodebuzz.com/display-table-readme-md-file-git-github-markup-format-table/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 02 Jun 2021 03:30:00 +0000</pubDate>
				<category><![CDATA[GitHub]]></category>
		<category><![CDATA[Add table to README Github]]></category>
		<category><![CDATA[Add table to README.md]]></category>
		<category><![CDATA[github markdown table merge cells]]></category>
		<category><![CDATA[github markdown table multi-line]]></category>
		<category><![CDATA[github markdown table of contents]]></category>
		<category><![CDATA[github table generator]]></category>
		<category><![CDATA[github table readme]]></category>
		<category><![CDATA[markdown table example]]></category>
		<category><![CDATA[markdown table formatter]]></category>
		<category><![CDATA[markdown table github]]></category>
		<category><![CDATA[read me file add table]]></category>
		<guid isPermaLink="false">https://www.thecodebuzz.com/?p=18426</guid>

					<description><![CDATA[<p>Display Table in README.md file in Git -Guidelines Today in this article, we shall see how to Display Table in README.md file. We will also see how to format table content in block or align table text at the center or right or left of the table. Tabular data representation is often a need for [&#8230;]</p>
<p>The post <a href="https://thecodebuzz.com/display-table-readme-md-file-git-github-markup-format-table/">Display Table in README.md file and format in Git -Guidelines</a> first appeared on <a href="https://thecodebuzz.com">TheCodeBuzz</a>.</p>]]></description>
										<content:encoded><![CDATA[<h1 class="wp-block-heading"><strong>Display Table in README.md file in Git -Guidelines</strong></h1>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" src="https://www.thecodebuzz.com/wp-content/uploads/2022/03/readme-table.jpg" alt="readme table" class="wp-image-21125" width="343" height="276" srcset="https://thecodebuzz.com/wp-content/uploads/2022/03/readme-table.jpg 448w, https://thecodebuzz.com/wp-content/uploads/2022/03/readme-table-300x242.jpg 300w" sizes="auto, (max-width: 343px) 100vw, 343px" /></figure>



<p>Today in this article, we shall see how to Display Table in README.md file. We will also see how to format table content in block or align table text at the center or right or left of the table.</p>



<p></p>



<p>Tabular data representation is often a need for Application-specific technical documentation representing the capability of your API or application in the organization.</p>



<p></p>



<p>As we understood README file is a markup file that can be used to represent technical documentation or business documentation or architectural documentation as required</p>



<p>Today in this article, we will cover below aspects,</p>



<div class="wp-block-aioseo-table-of-contents"><ul><li><a href="#aioseo-display-table-in-readme-md">Display Table in README.md</a></li><li><a href="#aioseo-formatting-table-content-in-bold-in-md-file">Formatting Table content in Bold in .md file</a></li><li><a href="#aioseo-align-table-column-names-at-centerleft-or-right-in-md-file">Align Table Column names at Center,Left, or Right in .md file</a></li></ul></div>



<p><strong>Readme.md </strong>file with markup codes lets you add all this content easily without any hassle.</p>



<p></p>



<h2 class="wp-block-heading" id="aioseo-display-table-in-readme-md"><strong>Display Table in README.md</strong></h2>



<p></p>



<p> Let&#8217;s open <strong><em>readme.md </em></strong>file in edit mode within Git services like GitHub or Ado</p>



<p></p>



<p>Adding a table is easy using <strong>pipes </strong>and <strong>hyphens</strong>. </p>



<p></p>



<p>Please define your row and column as below,</p>



<p></p>



<pre class="wp-block-preformatted has-medium-font-size">| FirstName     | LastName      | City     |
| ------------- | ------------- | -------- |
| John          | Test1         | NewYork  |
| Bob           | Test2         | Toronto  |
</pre>



<p></p>



<p><strong>Hyphens </strong>can be used to create each column&#8217;s header. Each column can be separated using pipes. </p>



<p></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="894" height="333" src="https://www.thecodebuzz.com/wp-content/uploads/2021/09/how-to-display-table-in-readme-md-file-github.jpg" alt="Display Table in README.md" class="wp-image-18434" srcset="https://thecodebuzz.com/wp-content/uploads/2021/09/how-to-display-table-in-readme-md-file-github.jpg 894w, https://thecodebuzz.com/wp-content/uploads/2021/09/how-to-display-table-in-readme-md-file-github-300x112.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2021/09/how-to-display-table-in-readme-md-file-github-768x286.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2021/09/how-to-display-table-in-readme-md-file-github-785x292.jpg 785w" sizes="auto, (max-width: 894px) 100vw, 894px" /></figure>



<p></p>



<p>Generated Table as below,</p>



<p></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="650" height="284" src="https://www.thecodebuzz.com/wp-content/uploads/2021/09/display-table-in-readme-md-file-github.jpg" alt="Add Table in git README.md" class="wp-image-18439" srcset="https://thecodebuzz.com/wp-content/uploads/2021/09/display-table-in-readme-md-file-github.jpg 650w, https://thecodebuzz.com/wp-content/uploads/2021/09/display-table-in-readme-md-file-github-300x131.jpg 300w" sizes="auto, (max-width: 650px) 100vw, 650px" /></figure>



<p></p>



<p>Please note below,</p>



<p></p>



<ul class="has-medium-font-size wp-block-list"><li>You need to add at least 3 hyphens to create each column properly.</li><li>You don&#8217;t necessarily perfectly align columns and hyphens.</li><li>You can format table as required in each column or row.</li></ul>



<p></p>



<h2 class="wp-block-heading" id="aioseo-formatting-table-content-in-bold-in-md-file">Formatting Table content in Bold in .md file</h2>



<p></p>



<p>We can format Table content like table column name in bold or code block as below,</p>



<p></p>



<pre class="wp-block-preformatted has-medium-font-size">Display Table in README.md file in Git


| FirstName     | LastName      | City   
| ------------- | ------------- | --------    |
| `John`        | Test1         | `NewYork`   |
| `Bob`         | Test2         | `Toronto`   |
</pre>



<p></p>



<p>Generated table as below,</p>



<p></p>



<figure class="wp-block-image size-large is-resized"><a href="https://www.thecodebuzz.com/add-images-to-readme-md-github-azure/"><img loading="lazy" decoding="async" src="https://www.thecodebuzz.com/wp-content/uploads/2021/09/display-table-readme-md-file-github.jpg" alt="read me add Table git" class="wp-image-18443" width="434" height="216" srcset="https://thecodebuzz.com/wp-content/uploads/2021/09/display-table-readme-md-file-github.jpg 577w, https://thecodebuzz.com/wp-content/uploads/2021/09/display-table-readme-md-file-github-300x149.jpg 300w" sizes="auto, (max-width: 434px) 100vw, 434px" /></a></figure>



<p></p>



<p>Not above we have used &#8221; to make the field look bold.</p>



<p></p>



<h2 class="wp-block-heading" id="aioseo-align-table-column-names-at-centerleft-or-right-in-md-file">Align Table Column names at Center,Left, or Right in .md file </h2>



<p></p>



<p>Align Cell text to the center or right or left of a column by using  <strong><em>colons&nbsp;<code>:</code>&nbsp;</em></strong>to the center-left, right sides of the hyphens within the header row.</p>



<p></p>



<pre class="wp-block-preformatted has-medium-font-size"><strong>Right align     ---:</strong></pre>



<p></p>



<pre class="wp-block-preformatted has-medium-font-size"><strong>Left align       :---</strong></pre>



<p></p>



<pre class="wp-block-preformatted has-medium-font-size"><strong>Center align    :--</strong>-:</pre>



<p></p>



<p></p>



<pre class="wp-block-preformatted has-medium-font-size">| FirstName     | LastName      | City  |
| :------------ |   :---:       | --------: |
| `John`        | Test1         | `NewYork`   |
| `Bob`         | Test2         | `Los Angeles`   |</pre>



<p></p>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" decoding="async" src="https://www.thecodebuzz.com/wp-content/uploads/2021/09/Align-Table-Column-names-at-CenterLeft-or-Right-readme-md-file-github.jpg" alt="Display Table in README.md file" class="wp-image-18445" width="472" height="189" srcset="https://thecodebuzz.com/wp-content/uploads/2021/09/Align-Table-Column-names-at-CenterLeft-or-Right-readme-md-file-github.jpg 725w, https://thecodebuzz.com/wp-content/uploads/2021/09/Align-Table-Column-names-at-CenterLeft-or-Right-readme-md-file-github-300x120.jpg 300w" sizes="auto, (max-width: 472px) 100vw, 472px" /></figure>



<p></p>



<p></p>



<p><strong><em>References : </em></strong></p>



<p></p>



<ul class="wp-block-list"><li><strong><em><a href="https://www.thecodebuzz.com/cherry-pick-in-git-azure-devops-gitlab-github/" target="_blank" rel="noreferrer noopener" title="Cherry Pick in Git – Guidelines">Cherry Pick in Git – Guidelines</a></em></strong></li></ul>



<p></p>



<p></p>



<p style="font-size:18px">Do you have any <strong>comments or ideas or any better </strong>suggestions to share?</p>



<p class="has-small-font-size"></p>



<p style="font-size:18px">Please sound off your comments below.</p>



<p class="has-medium-font-size"></p>



<p class="has-medium-font-size"><strong>Happy Coding </strong>!!</p>



<p></p>



<hr>



<p class=""></p>



<p class="has-background" style="background-color:#b6d9ac;font-size:18px"><br>Please <strong><em>bookmark </em></strong>this page and <em><strong>share </strong></em>it with your friends.                                                    Please <a href="https://www.thecodebuzz.com/subscription/" target="_blank" rel="noreferrer noopener"><em><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-luminous-vivid-orange-color"><strong>Subscribe</strong> </mark></em></a>to the blog to receive notifications on freshly published (2025) best practices and guidelines for software design and development.</p>




<br>



<hr>



<p class=""></p>



<p></p>



<p></p>



<p></p>



<p></p><p>The post <a href="https://thecodebuzz.com/display-table-readme-md-file-git-github-markup-format-table/">Display Table in README.md file and format in Git -Guidelines</a> first appeared on <a href="https://thecodebuzz.com">TheCodeBuzz</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://thecodebuzz.com/display-table-readme-md-file-git-github-markup-format-table/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
