<?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: hebrerillo</title>
    <description>The latest articles on DEV Community by hebrerillo (@hebrerillo).</description>
    <link>https://dev.to/hebrerillo</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%2F1210476%2Ff154d47f-d208-43b2-aa8c-1642419705e5.png</url>
      <title>DEV Community: hebrerillo</title>
      <link>https://dev.to/hebrerillo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hebrerillo"/>
    <language>en</language>
    <item>
      <title>Git rebase: duplicated commits overwrite original commits</title>
      <dc:creator>hebrerillo</dc:creator>
      <pubDate>Mon, 28 Jul 2025 15:52:00 +0000</pubDate>
      <link>https://dev.to/hebrerillo/git-rebase-duplicated-commits-overwrite-original-commits-221m</link>
      <guid>https://dev.to/hebrerillo/git-rebase-duplicated-commits-overwrite-original-commits-221m</guid>
      <description>&lt;p&gt;Hello!&lt;/p&gt;

&lt;p&gt;Here is the situation. Some of my coworkers are breaking the golden rule of git: they are rebasing public branches.&lt;/p&gt;

&lt;p&gt;They change the hashes of public commits and do a force update.&lt;/p&gt;

&lt;p&gt;As a result, we have dozens of duplicate commits.&lt;/p&gt;

&lt;p&gt;I told them to stop doing that because duplicated commits may overwrite the original commits.&lt;/p&gt;

&lt;p&gt;But they asked me to prove that. Otherwise, they will keep breaking the golden rule. But I do not know how to detect such overwritten commits among the big mess that we have in the repository.&lt;/p&gt;

&lt;p&gt;Is there any kind of diagnosis tool for git so that it can tell you which commits are overwritten because of other duplicated commits?&lt;/p&gt;

&lt;p&gt;Thank you so much!&lt;/p&gt;

</description>
      <category>git</category>
    </item>
  </channel>
</rss>
