<?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: Taher Ahmed (Ashraf)</title>
    <description>The latest articles on DEV Community by Taher Ahmed (Ashraf) (@taherahmed).</description>
    <link>https://dev.to/taherahmed</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%2F1259310%2F58b153a1-7c71-4f83-bf7d-b20a8add2815.png</url>
      <title>DEV Community: Taher Ahmed (Ashraf)</title>
      <link>https://dev.to/taherahmed</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/taherahmed"/>
    <language>en</language>
    <item>
      <title>Most Developers Don’t Know How to Write Proper Git Commits</title>
      <dc:creator>Taher Ahmed (Ashraf)</dc:creator>
      <pubDate>Sun, 15 Mar 2026 19:32:39 +0000</pubDate>
      <link>https://dev.to/taherahmed/most-developers-dont-know-how-to-write-proper-git-commits-1gn7</link>
      <guid>https://dev.to/taherahmed/most-developers-dont-know-how-to-write-proper-git-commits-1gn7</guid>
      <description>&lt;p&gt;If you are one of them, this post will give you a clear idea of industry best practices. Often, we write commit messages like this:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;"fixed bug"&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;"update code"&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;"minor changes"&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;But later, when we look back at the commit history, it becomes a headache trying to figure out what actually changed in which commit.&lt;/p&gt;

&lt;p&gt;Instead, we can write much more clearly using a structured format:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;"feat: add user authentication"&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;"fix: resolve login validation bug"&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;"refactor: improve API response handling"&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What do "&lt;strong&gt;feat&lt;/strong&gt;," "&lt;strong&gt;fix&lt;/strong&gt;," and "&lt;strong&gt;refactor&lt;/strong&gt;" actually mean?&lt;br&gt;
These are known as Commit Types. Using them makes your commit messages instantly understandable. Here are some of the most common types:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;feat → When adding a new feature.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;fix → When fixing a bug.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;refactor → Changing the code structure without adding new features or fixing bugs.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;docs → Updating documentation (like the README).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;style → Changes to formatting or code style (no logic changes).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;test → Adding or updating tests.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Writing commits this way makes your project history significantly cleaner and ensures that any other developer—or even your future self—can easily understand your work.&lt;/p&gt;

</description>
      <category>git</category>
      <category>webdev</category>
      <category>programming</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
