From: Alexandr Miloslavskiy Date: Fri, 06 Aug 2021 12:27:18 GMT Subject: Re: [BUG] Amending a shallow clone -> orphan branch Message-ID: In-Reply-To: On 06.08.2021 15:21, Bagas Sanjaya wrote: > So you're amending merge commit by adding dummy file, so that your > `master` branch becomes divergent against origin. That dummy file isn't > contained in any commits that are included with that merge commit. Note, the problem isn't about merge commits, it happens for regular commits as well. Maybe I should have picked a different repo for example. Still, the problem with losing all parents is the same regardless of merge/regular commit.