<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Regular Dev]]></title><description><![CDATA[Regular Dev]]></description><link>https://blog.regular.engineer</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 13:32:36 GMT</lastBuildDate><atom:link href="https://blog.regular.engineer/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Git Quickie: Branch Comparison]]></title><description><![CDATA[If you want to check what has been changed, you usually use git diff one-branch another , right?
But the problem is that it produces a lot of output that in some cases is not needed.
So there is a nice shortcut in case you want to compare two branche...]]></description><link>https://blog.regular.engineer/git-quickie-branch-comparison</link><guid isPermaLink="true">https://blog.regular.engineer/git-quickie-branch-comparison</guid><category><![CDATA[Git]]></category><category><![CDATA[GitHub]]></category><category><![CDATA[GitLab]]></category><category><![CDATA[Gitcommands]]></category><category><![CDATA[git-quickie]]></category><dc:creator><![CDATA[Dmytro Holysh]]></dc:creator><pubDate>Thu, 06 Apr 2023 11:56:39 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1680460487841/0fc46598-d5e7-4705-8a60-03f490aed723.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>If you want to check what has been changed, you usually use <code>git diff one-branch another</code> , right?</p>
<p>But the problem is that it produces a lot of output that in some cases is not needed.</p>
<p>So there is a nice shortcut in case you want to compare two branches quickly without caring about commits. The <code>--name-only</code> param will list the file names that are different:</p>
<pre><code class="lang-bash">git diff --name-only dev main
</code></pre>
<p>How often do you check diff? What are the most common use cases for it? I did this only once or twice in console but it was fun :)</p>
]]></content:encoded></item><item><title><![CDATA[Git Quickie: Skip Tracking]]></title><description><![CDATA[Many credentials are accidentally committed to different git repositories (GitHub, GitLab, etc.), which reduces app security as anyone can scan public repo for some common files/variables with credentials.
To avoid this, we usually use .gitignore but...]]></description><link>https://blog.regular.engineer/git-quickie-skip-tracking</link><guid isPermaLink="true">https://blog.regular.engineer/git-quickie-skip-tracking</guid><category><![CDATA[Git]]></category><category><![CDATA[GitHub]]></category><category><![CDATA[GitLab]]></category><category><![CDATA[Gitcommands]]></category><category><![CDATA[git-quickie]]></category><dc:creator><![CDATA[Dmytro Holysh]]></dc:creator><pubDate>Mon, 03 Apr 2023 11:10:39 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1680459797409/66f3785b-8477-4a86-b61c-2e8067a1823e.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Many credentials are accidentally committed to different git repositories (GitHub, GitLab, etc.), which reduces app security as anyone can scan public repo for some common files/variables with credentials.</p>
<p>To avoid this, we usually use <code>.gitignore</code> but sometimes there could be corner cases. For example, we've got the <code>.npmrc</code> file with the predefined field for using of token to access private registries. And file with that placeholder is committed to source control.</p>
<p>So what can we do to not commit private tokens accidentally? There is another one-line command for this:</p>
<pre><code class="lang-bash">git update-index --skip-worktree .npmrc
</code></pre>
<p>What are your favorite git commands? Please, don't hesitate to share them in the comments section!</p>
]]></content:encoded></item><item><title><![CDATA[Git Quickie: Changelog]]></title><description><![CDATA[Sometimes there is a need to see what has been done since a specific commit but a bit hard to navigate through the repo history. In case there is no changelog generation tool configured, we can use git to generate a simple changelog (possible formats...]]></description><link>https://blog.regular.engineer/git-quickie-changelog</link><guid isPermaLink="true">https://blog.regular.engineer/git-quickie-changelog</guid><category><![CDATA[GitHub]]></category><category><![CDATA[Git]]></category><category><![CDATA[GitLab]]></category><category><![CDATA[Gitcommands]]></category><category><![CDATA[git-quickie]]></category><dc:creator><![CDATA[Dmytro Holysh]]></dc:creator><pubDate>Sun, 02 Apr 2023 18:17:20 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1680459093855/f222c495-0677-41be-adea-a8123668fe29.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Sometimes there is a need to see what has been done since a specific commit but a bit hard to navigate through the repo history. In case there is no changelog generation tool configured, we can use git to generate a simple changelog (<a target="_blank" href="https://git-scm.com/docs/pretty-formats">possible formats docs here</a>):</p>
<pre><code class="lang-bash">git <span class="hljs-built_in">log</span> 93f832d9..HEAD --pretty=format:<span class="hljs-string">'%h : %B'</span> &gt; CHANGELOG.md
</code></pre>
<p>...and here you are!</p>
<p>Here is example of generated log from <a target="_blank" href="https://github.com/dmk1111/fresh-telegram-bot">my old repo</a>:</p>
<pre><code class="lang-markdown">c55a257 : updated naming

0702aa1 : Merge pull request #5 from iuriidanylevych/feature/results-google-spreadsheet

added code length counter, results are saved in google spreadsheet
3f52461 : added code length counter, results are saved in google spreadsheet

7a70d71 : Merge pull request #4 from iuriidanylevych/feature/updated-cocktail-map

updated cocktail map
f150180 : updated cocktail map

5110851 : Merge pull request #3 from iuriidanylevych/feature/moved-out-constants

Feature/moved out constants
1cdc12f : updated readme

79baf6b : moved out constants, ran prettier

097a901 : Merge pull request #2 from iuriidanylevych/feat/add-hard-mode

feat: add possibility to set difficulty
d934aba : fix: move info about tips from normal mode to hard mode

1d381c6 : chore: set normal mode by default in case user somehow didn't select it

1db5256 : feat: add possibility to set difficulty

d034e4e : Merge pull request #1 from iuriidanylevych/description-update

update description, use Set instead of Array, Map instead of Object
45eff4e : update description, use Set instead of Array, Map instead of Object

7190689 : added basic functionality
</code></pre>
]]></content:encoded></item></channel></rss>